diff --git a/README.md b/README.md index 064b2ed..c61e5aa 100644 --- a/README.md +++ b/README.md @@ -5,4 +5,4 @@ - **trans.sh**: a [linguee.com](https://linguee.com) based command-line translator. - **sync.sh**: a rsync/ssh backup tool. - **sync-conf-example.sh**: configuration example. -- **dup-live-disk.sh**: duplicate (possibly live) disk partitions. +- **dup-live-disk.sh**: duplicate (**possibly live**) disk partitions. diff --git a/bash/gen-password.sh b/bash/gen-password.sh index 4a8af0e..94a8803 100755 --- a/bash/gen-password.sh +++ b/bash/gen-password.sh @@ -565,8 +565,8 @@ parse_opts() { local c2="" c3="" local -i i - if ! tmp=$(getopt -o "$sopts" -l "$lopts" -n "$CMD" -- "$@"); then - log "Use '$CMD --help' or '$CMD --man' for help." + if ! tmp=$(getopt -o "$sopts" -l "$lopts" -n "$CMDNAME" -- "$@"); then + log "Use '$CMD --help' or 'zob $CMDNAME --man' for help." exit 1 fi