From 74ee7af4348ccaed8bfbf140abafc29bfa5e3343 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 31 Oct 2012 17:53:28 +0000 Subject: [PATCH] Documentation update git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5282 42af7a65-404d-4744-a932-0658087f49c3 --- examples/wgetjson/Kconfig | 2 +- examples/wgetjson/wgetjson_main.c | 2 +- nshlib/README.txt | 10 ++++++---- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/examples/wgetjson/Kconfig b/examples/wgetjson/Kconfig index 2e3b4b3eb..f7f4f236c 100644 --- a/examples/wgetjson/Kconfig +++ b/examples/wgetjson/Kconfig @@ -14,7 +14,7 @@ if EXAMPLES_WGETJSON config EXAMPLES_WGETJSON_MAXSIZE int "Max. JSON Buffer Size" - default 10240 + default 1024 config EXAMPLES_WGETJSON_URL string "wget URL" diff --git a/examples/wgetjson/wgetjson_main.c b/examples/wgetjson/wgetjson_main.c index 7f3096797..a137af438 100644 --- a/examples/wgetjson/wgetjson_main.c +++ b/examples/wgetjson/wgetjson_main.c @@ -58,7 +58,7 @@ ****************************************************************************/ #ifndef CONFIG_EXAMPLES_WGETJSON_MAXSIZE -# define CONFIG_EXAMPLES_WGETJSON_MAXSIZE 1024*10 +# define CONFIG_EXAMPLES_WGETJSON_MAXSIZE 1024 #endif #ifndef CONFIG_EXAMPLES_EXAMPLES_WGETJSON_URL diff --git a/nshlib/README.txt b/nshlib/README.txt index 043db2ae9..9f371678e 100644 --- a/nshlib/README.txt +++ b/nshlib/README.txt @@ -235,6 +235,10 @@ o test integer -gt integer | integer -le integer | integer -lt integer | integer -ne integer +o base64dec [-w] [-f] + +o base64dec [-w] [-f] + o cat [ [ ...]] This command copies and concatentates all of the files at @@ -257,10 +261,6 @@ o cd [|-|~|..] 'home' directory is '/'. 'cd ..' sets the current working directory to the parent directory. -o base64dec [-w] [-f] - -o base64dec [-w] [-f] - o cp Copy of the contents of the file at to the location @@ -874,6 +874,8 @@ Command Dependencies on Configuration Settings test !CONFIG_NSH_DISABLESCRIPT umount !CONFIG_DISABLE_MOUNTPOINT && CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_FS_READABLE unset !CONFIG_DISABLE_ENVIRON + urldecode CONFIG_NETUTILS_CODECS && CONFIG_CODECS_URLCODE + urlencode CONFIG_NETUTILS_CODECS && CONFIG_CODECS_URLCODE usleep !CONFIG_DISABLE_SIGNALS get CONFIG_NET && CONFIG_NET_TCP && CONFIG_NFILE_DESCRIPTORS > 0 xd ---