netstar pushed a commit to branch master.

http://git.enlightenment.org/apps/evisum.git/commit/?id=4a13382cd01eda315e9884a6ff03daab588602fa

commit 4a13382cd01eda315e9884a6ff03daab588602fa
Author: Alastair Poole <nets...@gmail.com>
Date:   Fri Jan 22 15:07:08 2021 +0000

    docs: that's all folks.
---
 src/bin/main.c | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/src/bin/main.c b/src/bin/main.c
index bb69496..df049ba 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -41,8 +41,21 @@ elm_main(int argc, char **argv)
         if ((!strcmp(argv[i], "-h")) || (!strcmp(argv[i], "-help")) ||
             (!strcmp(argv[i], "--help") || !strcasecmp(argv[i], "-v")))
           {
-             printf("(c) 2018-2020 Alastair Roy Poole <nets...@gmail.com>\n");
-             printf("Evisum version: %s\n", PACKAGE_VERSION);
+             printf("Usage: evisum [OPTIONS]\n"
+                    "   Where OPTIONS can be one of\n"
+                    "      -c\n"
+                    "        Launch CPU view.\n"
+                    "      -m\n"
+                    "        Launch memory view.\n"
+                    "      -d\n"
+                    "        Launch storage view.\n"
+                    "      -s\n"
+                    "        Launch sensors view.\n"
+                    "      -p <pid>\n"
+                    "        Launch process view for pid.\n"
+                    "      -h | -help | --help\n"
+                    "        This menu.\n"
+                    "   No arguments will launch the process explorer.\n");
              exit(0);
           }
         else if (!strcmp(argv[i], "-c"))

-- 


Reply via email to