diff options
author | P. J. McDermott <pj@pehjota.net> | 2015-12-06 22:23:37 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2015-12-06 22:23:37 (EST) |
commit | 1f7a7577241a1bd6af6378fba345dc52f1dd056c (patch) | |
tree | 4cd6a89f80c6dd5ee0928ffad3015fc88475acda /lib/cmd | |
parent | 62856814b0c9fcde31e4b0e3587d9ddd44f1992e (diff) |
cmd/version: Use register_cmd()
Diffstat (limited to 'lib/cmd')
-rw-r--r-- | lib/cmd/version.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/cmd/version.sh b/lib/cmd/version.sh index cc40b4b..0105f20 100644 --- a/lib/cmd/version.sh +++ b/lib/cmd/version.sh @@ -25,3 +25,9 @@ cmd_version_main() printf "$(get_msg 'cmd_version_copyright')\n" \ '2012, 2013, 2014' 'Patrick "P. J." McDermott' } + +cmd_version_register() +{ + register_cmd 'version' +} +__init cmd_version_register |