]> granicus.if.org Git - sysstat/commitdiff
Update sar and sadf usage message
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 7 Jan 2023 14:34:17 +0000 (15:34 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 7 Jan 2023 14:34:17 +0000 (15:34 +0100)
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
sadf.c
sar.c

diff --git a/sadf.c b/sadf.c
index 09ff6c4bc913d1549a35977698bf85ad48f981df..c9d26de9808a2fd248fcbafa257d89d98b606c9c 100644 (file)
--- a/sadf.c
+++ b/sadf.c
@@ -123,7 +123,7 @@ void usage(char *progname)
                          "[ -C ] [ -c | -d | -g | -j | -l | -p | -r | -x ] [ -H ] [ -h ] [ -T | -t | -U ] [ -V ]\n"
                          "[ -O <opts> [,...] ] [ -P { <cpu> [,...] | ALL } ]\n"
                          "[ --dev=<dev_list> ] [ --fs=<fs_list> ] [ --iface=<iface_list> ] [ --int=<int_list> ]\n"
-                         "[ -s [ <hh:mm[:ss]> ] ] [ -e [ <hh:mm[:ss]> ] ]\n"
+                         "[ -s [ <time_start> ] ] [ -e [ <time_end> ] ]\n"
                          "[ -- <sar_options> ]\n"));
        exit(1);
 }
diff --git a/sar.c b/sar.c
index d48656b5b0b0c2553df78e0e504e5a427541f2be..0cd72cb304ca225ccb82b9c4b76fa45dd6f7582a 100644 (file)
--- a/sar.c
+++ b/sar.c
@@ -132,7 +132,7 @@ void usage(char *progname)
                          "[ --dec={ 0 | 1 | 2 } ] [ --help ] [ --human ] [ --pretty ] [ --sadc ]\n"
                          "[ -j { SID | ID | LABEL | PATH | UUID | ... } ]\n"
                          "[ -f [ <filename> ] | -o [ <filename> ] | -[0-9]+ ]\n"
-                         "[ -i <interval> ] [ -s [ <hh:mm[:ss]> ] ] [ -e [ <hh:mm[:ss]> ] ]\n"));
+                         "[ -i <interval> ] [ -s [ <time_start> ] ] [ -e [ <time_end> ] ]\n"));
        exit(1);
 }