Top "Command-line-arguments" questions

Programming command line utilities that take parameters.

Command Line args in C program using Netbeans

I am new to usintg Netbeans in Linux. So, I am facing problem how to specify command line args for …

c file command-line-arguments ubuntu-11.04 netbeans-7
Default values for lists/arrays using Command Line Parser Library

Using Command Line Parser Library and having a list or array with a default value, the default value is printed …

c# command-line command-line-arguments command-line-parser
White spaces in command line arguments. Cannot read "C:\Program Files" properly

I need to run silent installation. The command is like this setup.exe -silent -response <Response File> -jreLoc &…

python command-line-arguments jrockit
creating an array from a command line option (python::optparse)

There is a python script which reads a benchmark name from command line like this: -b benchname1 The code for …

python arrays command-line-arguments optparse
Opening a file in a Metro app from command line

I need a way to open a file in a Metro app from command line. So far I've figured out …

command-line windows-8 microsoft-metro command-line-arguments windows-10
Getting command line arguments as tuples in python

Here is an example of how I would like to call my script: python script.py -f file1.txt "string1" "…

python command-line-arguments optparse
Accepting Command-Line Arguments into a Ruby Script

I'm trying to use the following code to accept in a file as an argument in Terminal which will then …

ruby command-line-arguments posterous
Argument option using JCommander

I'm new with JCommander and I'm trying to use it in my JAVA Command Line Application. Fisrt thing I did …

java command-line-arguments jcommander
Processing command-line arguments in prefix notation in Python

I'm trying to parse a command-line in Python which looks like the following: $ ./command -o option1 arg1 -o option2 arg2 …

python data-structures stack command-line-arguments prefix
Print help for both normal and positional args with boost::program_options

When you use Boost library program_options it is very easy to print help for your program: boost::program_options::…

c++ boost command-line-arguments boost-program-options