diff options
author | Tyler Murphy <tylermurphy534@gmail.com> | 2022-11-09 10:49:25 -0500 |
---|---|---|
committer | Tyler Murphy <tylermurphy534@gmail.com> | 2022-11-09 10:49:25 -0500 |
commit | 191632ce0ab810b4773f64eaf80ad67e87200c0b (patch) | |
tree | 51ff03bc25aba69142f0583e52d850424c619b55 /src/help.rs | |
parent | fix session pid, add uninstall sh file (diff) | |
download | crab-191632ce0ab810b4773f64eaf80ad67e87200c0b.tar.gz crab-191632ce0ab810b4773f64eaf80ad67e87200c0b.tar.bz2 crab-191632ce0ab810b4773f64eaf80ad67e87200c0b.zip |
help and version flags
Diffstat (limited to 'src/help.rs')
-rw-r--r-- | src/help.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/help.rs b/src/help.rs new file mode 100644 index 0000000..422e35d --- /dev/null +++ b/src/help.rs @@ -0,0 +1,11 @@ +pub fn help() { + let help = +"Usage: + crab [-d] command [args] + +Options: + -v --version Get the current version of the package + -h --help Generates the crab help message + -d If your user is set to persist, dont save persistance"; + println!("{}", help); +}
\ No newline at end of file |