From cb8e5ad6c5b9c79cce1a6baf10041f90cf491711 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 20 Mar 2017 12:41:22 -0500 Subject: Add TOYBOX_PEDANTIC_ARGS to check arguments when there are no arguments, and make uptime use it. --- toys/other/uptime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/other/uptime.c') diff --git a/toys/other/uptime.c b/toys/other/uptime.c index 91887dfb..1acb39ef 100644 --- a/toys/other/uptime.c +++ b/toys/other/uptime.c @@ -5,7 +5,7 @@ * Copyright 2013 Jeroen van Rijn -USE_UPTIME(NEWTOY(uptime, NULL, TOYFLAG_USR|TOYFLAG_BIN)) +USE_UPTIME(NEWTOY(uptime, NO_ARGS, TOYFLAG_USR|TOYFLAG_BIN)) config UPTIME bool "uptime" -- cgit v1.2.3