summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-07-15 00:14:15 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2009-07-15 00:14:15 (GMT)
commit0ad438b12a97159c43c9bfc75a4ae4873ecf9bf9 (patch)
treed3cd4278d9a9b8944ead39e7519bd281c866123c
parent3b405437b8bf7884c6679a5bca8d48c1edb2bf11 (diff)
downloadbusybox-0ad438b12a97159c43c9bfc75a4ae4873ecf9bf9.tar.gz
busybox-0ad438b12a97159c43c9bfc75a4ae4873ecf9bf9.tar.bz2
comment fix, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--libbb/appletlib.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index b196808..835d42c 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -689,8 +689,9 @@ static int busybox_main(char **argv)
busybox = xmalloc_readlink(bb_busybox_exec_path);
if (!busybox)
busybox = bb_busybox_exec_path;
- /* -s makes symlinks, argv[3] is a custom defined */
- /* install directory or NULL to use the hardcoded defaults */
+ /* busybox --install [-s] [DIR]: */
+ /* -s: make symlinks */
+ /* DIR: directory to install links to */
use_symbolic_links = (argv[2] && strcmp(argv[2], "-s") == 0 && argv++);
install_links(busybox, use_symbolic_links, argv[2]);
return 0;