From e1de0b9e18e8224a156a16a9ec43ae4441f11f81 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 10 Jan 2014 15:23:26 -0600 Subject: NSH: Separate command line parsing from command execution. Add support for multiple, semicolone separated commands on each line --- apps/nshlib/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps/nshlib/Kconfig') diff --git a/apps/nshlib/Kconfig b/apps/nshlib/Kconfig index 09a0e5120..2a96b851b 100644 --- a/apps/nshlib/Kconfig +++ b/apps/nshlib/Kconfig @@ -269,6 +269,14 @@ config NSH_LINELEN The maximum length of one command line and of one output line. Default: 80 +config NSH_DISABLE_SEMICOLON + bool "Disable multiple commands per line" + default n + ---help--- + By default, you can enter multiple NSH commands on a line with each + command separated by a semicolon. You can disable this feature to + save a little memory on FLASH challenged platforms. + config NSH_MAXARGUMENTS int "Maximum number of command arguments" default 6 -- cgit v1.2.3