diff options
Diffstat (limited to 'src/cpt-lib')
-rw-r--r-- | src/cpt-lib | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cpt-lib b/src/cpt-lib index 8509776..27e8c4d 100644 --- a/src/cpt-lib +++ b/src/cpt-lib @@ -276,6 +276,14 @@ getoptions_help() { echo "}" } +global_options() { + msg -- '' 'Global Options:' + flag CPT_FORCE -f --force init:="$CPT_FORCE" -- "Force operation" + flag CPT_PROMPT -y --no-prompt on:0 off:0 init:="$CPT_PROMPT" -- "Do not prompt for confirmation" + param CPT_ROOT --root init:="$CPT_ROOT" -- "Use an alternate root directory" + disp :usage -h --help -- "Show this help message" + disp :version -v --version -- "Print version information" +} warn() { # Print a warning message |