Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit7181ed512e939c20b5f2691f3ddeb59ea87a0a40 (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-10-17 15:47:36 +0300
Committer
 Syndamia <kamen@syndamia.com>
2023-10-17 15:47:36 +0300
Files7792092f1700f7a2f32a49e7fb379e7f7e3f4d3f
csg-7181ed512e939c20b5f2691f3ddeb59ea87a0a40.tar
csg-7181ed512e939c20b5f2691f3ddeb59ea87a0a40.tar.gz
csg-7181ed512e939c20b5f2691f3ddeb59ea87a0a40.zip
Parente59e6426397a3859a34416082f91e036ab7b8671 (diff)
[p1] Added info about -h, -? and --help
1 files changed, 6 insertions, 1 deletions
-rwxr-xr-xcsg7
diff --git a/csg b/csg
index be67a02..347757f 100755
--- a/csg
+++ b/csg
@@ -4,7 +4,12 @@
### Help message
csg_help() {
- echo 'Usage: csg <source_dir> <destination_dir> <title_format> [<scripts_dir>]
+ echo 'Usage: csg [-h | -? | --help]
+ csg <source_dir> <destination_dir> <title_format> [<scripts_dir>]
+
+Options:
+ -h, -?, --help Print this help message (also available when given no
+ arguments)
Arguments:
<source_dir> Folder which contains source files