This is an automated email from the ASF dual-hosted git repository.

ccollins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-mcumgr.git

commit 490f44f3715373051c16b02238da2c8fab52a4c5
Author: Christopher Collins <ccoll...@apache.org>
AuthorDate: Mon Feb 12 13:01:59 2018 -0800

    Indicate units (bytes) in Kconfig help.
---
 cmd/fs_mgmt/Kconfig   | 15 ++++++++-------
 cmd/img_mgmt/Kconfig  |  5 +++--
 cmd/log_mgmt/Kconfig  | 20 ++++++++++----------
 cmd/stat_mgmt/Kconfig |  8 ++++----
 4 files changed, 25 insertions(+), 23 deletions(-)

diff --git a/cmd/fs_mgmt/Kconfig b/cmd/fs_mgmt/Kconfig
index 03157b0..ccbcf17 100644
--- a/cmd/fs_mgmt/Kconfig
+++ b/cmd/fs_mgmt/Kconfig
@@ -29,23 +29,24 @@ config FS_MGMT_UL_CHUNK_SIZE
     prompt "Maximum chunk size for file uploads"
     default 512
     help
-      Limits the maximum chunk size in file uploads.  A buffer of this size
-      gets allocated on the stack during handling of a file upload command.
+      Limits the maximum chunk size for file uploads, in bytes.  A buffer of
+      this size gets allocated on the stack during handling of a file upload 
command.
 
 config FS_MGMT_DL_CHUNK_SIZE
     int
     prompt "Maximum chunk size for file downloads"
     default 512
     help
-      Limits the maximum chunk size in file downloads.  A buffer of this size
-      gets allocated on the stack during handling of a file download command.
+      Limits the maximum chunk size for file downloads, in bytes.  A buffer of
+      this size gets allocated on the stack during handling of a file download
+      command.
 
 config FS_MGMT_PATH_SIZE
     int
     prompt "Maximum file path length"
     default 64
     help
-      Limits the maximum path length in file operations.  A buffer of this size
-      gets allocated on the stack during handling of file upload and download
-      commands.
+      Limits the maximum path length for file operations, in bytes.  A buffer
+      of this size gets allocated on the stack during handling of file upload
+      and download commands.
 endif
diff --git a/cmd/img_mgmt/Kconfig b/cmd/img_mgmt/Kconfig
index 2ac6c61..f8072b8 100644
--- a/cmd/img_mgmt/Kconfig
+++ b/cmd/img_mgmt/Kconfig
@@ -33,6 +33,7 @@ config IMG_MGMT_UL_CHUNK_SIZE
     prompt "Maximum chunk size for image uploads"
     default 512
     help
-      Limits the maximum chunk size in image uploads.  A buffer of this size
-      gets allocated on the stack during handling of a image upload command.
+      Limits the maximum chunk size for image uploads, in bytes.  A buffer of
+      this size gets allocated on the stack during handling of a image upload
+      command.
 endif
diff --git a/cmd/log_mgmt/Kconfig b/cmd/log_mgmt/Kconfig
index 8b43166..9373571 100644
--- a/cmd/log_mgmt/Kconfig
+++ b/cmd/log_mgmt/Kconfig
@@ -29,26 +29,26 @@ config LOG_MGMT_CHUNK_SIZE
     prompt "Maximum chunk size for log downloads"
     default 512
     help
-      Limits the maximum chunk size in log downloads.  A buffer of this size
-      gets allocated on the stack during handling of the log show command.
+      Limits the maximum chunk size for log downloads, in bytes.  A buffer of
+      this size gets allocated on the stack during handling of the log show 
command.
 
 config LOG_MGMT_NAME_LEN
     int
     prompt "Maximum log name length"
     default 64
     help
-      Limits the maximum length of log names.  If a log's name length exceeds
-      this number, it gets truncated in management responses.  A buffer of this
-      size gets allocated on the stack during handling of all log management
-      commands.
+      Limits the maximum length of log names, in bytes.  If a log's name length
+      exceeds this number, it gets truncated in management responses.  A buffer
+      of this size gets allocated on the stack during handling of all log
+      management commands.
 
 config LOG_MGMT_BODY_LEN
     int
     prompt "Maximum log body length"
     default 128
     help
-      Limits the maximum length of log entry bodies.  If a log entry's body
-      length exceeds this number, it gets truncated in management responses.  A
-      buffer of this size gets allocated on the stack during handling of the
-      log show command.
+      Limits the maximum length of log entry bodies, in bytes.  If a log
+      entry's body length exceeds this number, it gets truncated in management
+      responses.  A buffer of this size gets allocated on the stack during
+      handling of the log show command.
 endif
diff --git a/cmd/stat_mgmt/Kconfig b/cmd/stat_mgmt/Kconfig
index ffda20f..3688ed1 100644
--- a/cmd/stat_mgmt/Kconfig
+++ b/cmd/stat_mgmt/Kconfig
@@ -29,8 +29,8 @@ config STAT_MGMT_MAX_NAME_LEN
     prompt "Maximum stat group name length"
     default 32
     help
-      Limits the maximum stat group name length in mcumgr requests.  A buffer
-      of this size gets allocated on the stack during handling of all stat read
-      commands.  If a stat group's name exceeds this limit, it will be
-      impossible to retrieve its values with a stat show command.
+      Limits the maximum stat group name length in mcumgr requests, in bytes.
+      A buffer of this size gets allocated on the stack during handling of all
+      stat read commands.  If a stat group's name exceeds this limit, it will
+      be impossible to retrieve its values with a stat show command.
 endif

-- 
To stop receiving notification emails like this one, please contact
ccoll...@apache.org.

Reply via email to