diff options
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | help.txt | 4 |
2 files changed, 6 insertions, 0 deletions
@@ -2,3 +2,5 @@ install: go install github.com/buetow/gstat/gstat run: go run gstat/main.go +docu: install + sh -c '($(GOPATH)/bin/gstat -h 2>&1)|sed 1d > help.txt;exit 0' diff --git a/help.txt b/help.txt new file mode 100644 index 0000000..b49082a --- /dev/null +++ b/help.txt @@ -0,0 +1,4 @@ + -b=false: Use binary instead of deciman (e.g. kiB an not kB + -i=2: Update interval in seconds + -m=1: The stats mode: 0:bytes 1:syscalls 2:chars + -v=false: Print the version |
