summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/configuration_and_init.rst15
-rw-r--r--shell/file_and_directory.rst6
-rw-r--r--shell/general_commands.rst2
3 files changed, 13 insertions, 10 deletions
diff --git a/shell/configuration_and_init.rst b/shell/configuration_and_init.rst
index 610ed2e..6977905 100644
--- a/shell/configuration_and_init.rst
+++ b/shell/configuration_and_init.rst
@@ -103,12 +103,15 @@ provided an alias for ``usercmd`` named ``userecho``.
return 0;
}
rtems_shell_cmd_t Shell_USERCMD_Command = {
- "usercmd", /* name */
- "usercmd n1 \[n2 \[n3...]]", /* usage */
- "user", /* topic */
- main_usercmd, /* command */
- NULL, /* alias */
- NULL /* next */
+ "usercmd", /* name */
+ "usercmd n1 [n2 [n3...]]", /* usage */
+ "user", /* topic */
+ main_usercmd, /* command */
+ NULL, /* alias */
+ NULL, /* next */
+ S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH, /* mode */
+ 0, /* uid */
+ 0 /* gid */
};
rtems_shell_alias_t Shell_USERECHO_Alias = {
"usercmd", /* command */
diff --git a/shell/file_and_directory.rst b/shell/file_and_directory.rst
index 8609736..c1837ac 100644
--- a/shell/file_and_directory.rst
+++ b/shell/file_and_directory.rst
@@ -100,7 +100,7 @@ NOTES:
EXAMPLES:
The following is an example of how to use ``blksync``:
- .. code-block:: c
+ .. code-block:: shell
blksync /dev/hda1
@@ -1469,7 +1469,7 @@ ln - make links
.. index:: ln
SYNOPSYS:
- .. code-block:: c
+ .. code-block:: shell
ln [-fhinsv] source_file [target_file]
ln [-fhinsv] source_file ... target_dir
@@ -1729,7 +1729,7 @@ mkdir - create a directory
.. index:: mkdir
SYNOPSYS:
- .. code-block:: c
+ .. code-block:: shell
mkdir dir [dir1 .. dirN]
diff --git a/shell/general_commands.rst b/shell/general_commands.rst
index 381c7d9..c74ae45 100644
--- a/shell/general_commands.rst
+++ b/shell/general_commands.rst
@@ -1030,7 +1030,7 @@ time - time command execution
.. index:: time
SYNOPSYS:
- .. code-block:: c
+ .. code-block:: shell
time command [argument ...]