aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python-config.py
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2016-03-04 10:03:06 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2016-03-04 10:03:06 -0500
commit73519cce7cbe31609a2aa9c27955555237a0c51f (patch)
treef9ed5a853810ce47ae70f3cae09e4f2b8a25212e /gdb/python/python-config.py
parente18b24a419ef76a3c6c76c34885d1f6e9ae58fa6 (diff)
downloadgdb-73519cce7cbe31609a2aa9c27955555237a0c51f.zip
gdb-73519cce7cbe31609a2aa9c27955555237a0c51f.tar.gz
gdb-73519cce7cbe31609a2aa9c27955555237a0c51f.tar.bz2
feature_to_c.sh: Print help when passing no arguments
I found that odd that passing no arguments to feature_to_c.sh produces this: $ ./feature_to_c.sh ./feature_to_c.sh: 23: shift: can't shift that many but passing one argument shows the help: $ ./feature_to_c.sh hello Usage: ./feature_to_c.sh OUTPUTFILE INPUTFILE... This patch changes the script to show the help in both cases. gdb/ChangeLog: * features/feature_to_c.sh: Print the help when passing no argument.
Diffstat (limited to 'gdb/python/python-config.py')
0 files changed, 0 insertions, 0 deletions