commit 3776d0ed20f1c42052021f77cf7817fc7380bffe parent ef020ed2fbef10cb88bd8bda80a807db42f29723 Author: sin <sin@2f30.org> Date: Sat, 1 Nov 2014 15:16:24 +0000 Fix usage Diffstat:
M | xbattmon.c | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/xbattmon.c b/xbattmon.c @@ -258,6 +258,9 @@ main(int argc, char *argv[]) usage(); } ARGEND; + if (argc != 0) + usage(); + setup(); recalc(); redraw();