diff options
author | Jaroslav Stepanek <xstej70@gmail.com> | 2017-06-05 13:50:04 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-06-05 13:50:32 +0200 |
commit | 9896cdad8a027fba76965d81f9e61622ed0d80ea (patch) | |
tree | 9538ed20645bb1f866b8927faf62a5d989d2c151 | |
parent | 4148d2d9de1b62b86cd62414856a5c388a3f5f25 (diff) | |
download | libmbim-9896cdad8a027fba76965d81f9e61622ed0d80ea.tar.gz |
mbim-network: add support for short help switch
https://bugs.freedesktop.org/show_bug.cgi?id=101279
-rwxr-xr-x | utils/mbim-network.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/mbim-network.in b/utils/mbim-network.in index 5fe8af8..f4b0ffb 100755 --- a/utils/mbim-network.in +++ b/utils/mbim-network.in @@ -37,8 +37,8 @@ help () echo echo "Options:" echo " --profile=[PATH] Use the profile in the specified path" - echo " --help Show help options" - echo " --version Show version" + echo " --help, -h Show help options" + echo " --version Show version" echo echo "Notes:" echo @@ -88,7 +88,7 @@ version () # Basic options if [ $# -lt 2 ]; then - if [ "$1" = "--help" ]; then + if [ "$1" = "--help" ] || [ "$1" = "-h" ]; then help exit 0 elif [ "$1" = "--version" ]; then |