From 719c1bcbdfda016f7b3bd10b9b35631739586fec Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 22 Jul 2017 15:22:50 -0400 Subject: register_cmd(): New function --- diff --git a/src/cmd.sh b/src/cmd.sh index b5948a9..de10310 100644 --- a/src/cmd.sh +++ b/src/cmd.sh @@ -19,6 +19,15 @@ cmds= +register_cmd() +{ + local cmd="${1}" + shift 1 + + cmds="${cmds}${cmd} " + return 0 +} + print_opt_summaries() { local padding= -- cgit v0.9.1