Top "Command-line-arguments" questions

Programming command line utilities that take parameters.

parse arguments after getopts

I want to call a bash script like this $ ./scriptName -o -p -t something path/to/file This is as …

bash command-line-arguments arguments getopts
Run python script with some of the argument that are optional

I have gone through the sys documentation, however there is something that is still unclear to me. I have looked …

python command-line-arguments argparse sys
Bash command line arguments, replacing defaults for variables

I have a script which has several input files, generally these are defaults stored in a standard place and called …

bash variables command-line-arguments default
Precedence order among properties file, YAML file, and Command Line arguments in SpringBoot

I have been using application.properties files since long in my Spring application. But recently I came across application.yaml …

spring-boot yaml command-line-arguments intellij-idea-2016 application.properties
How to use GetOptions utility to handle 'optional' command-line arguments in Perl?

There are many Perl tutorials explaining how to use GetOptions utility to process only the command-line arguments which are expected, …

perl command-line-arguments getopt-long
Warning while constructing a mapping in Ansible

Whenever I run my playbook the following warning comes up: [WARNING]: While constructing a mapping from /etc/ansible/roles/foo/…

command-line-arguments ansible jinja2 ansible-playbook ansible-2.x
flag package in Go - do I have to always set default value?

Is it possible not to set default value in flag package in Go? For example, in flag package you can …

go command-line-arguments flags
How do I access program arguments in Swift?

C and derivatives have argc and argv (and envp) parameters to their entry point functions, but Swift doesn't have one …

swift command-line command-line-arguments
CreateProcess and command line arguments

Background Info: Windows 7, Visual C++ 2010 Express Problem: CreateProcess() keeps returning with 'Invalid command line argument' Explanation: I'm writing a piece …

c++ windows command-line-arguments createprocess
Java -server argument

Possible Duplicate: Real differences between “java -server” and “java -client”? I've seen the argument "-server" used as a command line …

java arguments command-line-arguments jvm-arguments