diff --git a/bin/pdm-build b/bin/pdm-build index 2a14383..366b950 100755 --- a/bin/pdm-build +++ b/bin/pdm-build @@ -17,7 +17,7 @@ DEFINE_boolean 'squash' false 'squash newly built layers into a single new layer DEFINE_boolean 'debug' false "Don't delete temporary container on build fail" 'd' DEFINE_string 'tag' 'latest' 'Tag (other than date) to assign to the image' 't' -FLAGS_HELP="Usage: $0 [-sd] [-t tag] [directory] [name] +FLAGS_HELP="Usage: $(basename $0) [-sd] [-t tag] [directory] [name] Builds an image from the Containerfile and (optionally) Systemdfile in the specified directory, and tags the image with the given name. If no directory diff --git a/bin/pdm-launch b/bin/pdm-launch index f88bba9..e3bca09 100755 --- a/bin/pdm-launch +++ b/bin/pdm-launch @@ -6,7 +6,7 @@ DEFINE_boolean 'overwrite' false 'Overwrite container if one with same name alre DEFINE_boolean 'config' false 'Automatically configure container with deploy options stored in image metadata.' 'c' DEFINE_string 'label' 'deployopts' 'Image metadata label from which to get the deploy options.' 'l' -FLAGS_HELP="Usage: $0 [-oc] [-d label] [image] [name] +FLAGS_HELP="Usage: $(basename $0) [-oc] [-d label] [image] [name] Creates and starts a container from the specified image, and assigns it the specified name. If no image argument is given, uses the current working diff --git a/bin/pdm-shell b/bin/pdm-shell index 3ba65cf..18aaa5f 100755 --- a/bin/pdm-shell +++ b/bin/pdm-shell @@ -1,7 +1,7 @@ #!/bin/bash if [[ -z $1 || $1 == "-h" || $1 == "--help" ]]; then - echo "Usage: $0 container + echo "Usage: $(basename $0) container Start a shell on the given container, and connect to it." exit 1