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. --- Config.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Config.in') diff --git a/Config.in b/Config.in index 8fb1f139..2bfe30a8 100644 --- a/Config.in +++ b/Config.in @@ -135,6 +135,12 @@ config TOYBOX_DEBUG Enable extra checks for debugging purposes. All of them catch things that can only go wrong at development time, not runtime. +config TOYBOX_PEDANTIC_ARGS + bool "Pedantic argument checking" + default n + help + Check arguments for commands that have no arguments. + config TOYBOX_UID_SYS int "First system UID" default 100 -- cgit v1.2.3