summaryrefslogtreecommitdiffstats
path: root/commands/cd.c
diff options
context:
space:
mode:
authorJuergen Beisert <jbe@isonoe.(none)>2007-10-19 14:56:45 +0200
committerJuergen Beisert <jbe@isonoe.(none)>2007-10-19 14:56:45 +0200
commitafe73cff56de417ce21096476928f53a7515ddec (patch)
treeca75b8b93cc2b4b69fc9923162ea7c80d5ff3d2a /commands/cd.c
parent18690c9c23d424f5a28d24f4369533745c4ddbb3 (diff)
downloadbarebox-afe73cff56de417ce21096476928f53a7515ddec.tar.gz
barebox-afe73cff56de417ce21096476928f53a7515ddec.tar.xz
doc added and some reorganised
Diffstat (limited to 'commands/cd.c')
-rw-r--r--commands/cd.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/commands/cd.c b/commands/cd.c
index 4263d0922e..08c3a2d268 100644
--- a/commands/cd.c
+++ b/commands/cd.c
@@ -20,6 +20,11 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+/**
+ * @file
+ * @brief Change working directory
+ */
+
#include <common.h>
#include <command.h>
#include <fs.h>
@@ -52,3 +57,11 @@ U_BOOT_CMD_START(cd)
.usage = "change working directory",
U_BOOT_CMD_HELP(cmd_cd_help)
U_BOOT_CMD_END
+
+/**
+ * @page cd_command cd (change working directory)
+ *
+ * Usage is: cd [<directory name>]
+ *
+ * Change to <directory name>. If called without argument, change to / (root)
+ */