summaryrefslogtreecommitdiff
path: root/libbb/appletlib.c
diff options
context:
space:
mode:
authorDenys Vlasenko2009-07-15 02:14:15 +0200
committerDenys Vlasenko2009-07-15 02:14:15 +0200
commit0ad438b12a97159c43c9bfc75a4ae4873ecf9bf9 (patch)
treed3cd4278d9a9b8944ead39e7519bd281c866123c /libbb/appletlib.c
parent3b405437b8bf7884c6679a5bca8d48c1edb2bf11 (diff)
downloadbusybox-0ad438b12a97159c43c9bfc75a4ae4873ecf9bf9.zip
busybox-0ad438b12a97159c43c9bfc75a4ae4873ecf9bf9.tar.gz
comment fix, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/appletlib.c')
-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;