Top "Command-line-arguments" questions

Programming command line utilities that take parameters.

how to take integers as command line arguments?

I've read a getopt() example but it doesn't show how to accept integers as argument options, like cvalue would be …

c command-line-arguments getopt
getopt.h: Compiling Linux C-Code in Windows

I am trying to get a set of nine *.c files (and nine related *.h files) to compile under Windows. …

c visual-studio build command-line-arguments getopt
xargs with multiple arguments

I have a source input, input.txt a.txt b.txt c.txt I want to feed these input into …

linux bash shell command-line-arguments xargs
Get command-line arguments from spring-boot:run

Is there any way to input arguments when launching spring-boot application (mvn spring-boot:run) from commandline and then get them …

java maven spring-boot command-line-arguments
Passing command line arguments to argv in jupyter/ipython notebook

I'm wondering if it's possible to populate sys.argv (or some other structure) with command line arguments in a jupyter/…

python jupyter-notebook command-line-arguments papermill
When running a python script in IDLE, is there a way to pass in command line arguments (args)?

I'm testing some python code that parses command line input. Is there a way to pass this input in through …

python command-line-arguments python-idle
How can I force ssh to accept a new host fingerprint from the command line?

I'm getting the standard WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone …

ssh arguments command-line-arguments sftp
argparse store false if unspecified

parser.add_argument('-auto', action='store_true') How can I store false if -auto is unspecified? I can faintly remember …

python command-line-arguments argparse
Maximum length of command line argument that can be passed to SQL*Plus?

I am calling SQL*Plus from Linux C Shell: sqlplus username/password @file.sql var1 var2 var3 If I pass …

linux command-line-arguments sqlplus csh
How to load program reading stdin and taking parameters in gdb?

I have a program that takes input from stdin and also takes some parameters from command line. It looks like …

emacs gdb redirect command-line-arguments