aboutsummaryrefslogtreecommitdiff
path: root/ln.c
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-16 20:57:15 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-16 20:57:15 +0000
commitd353f773bab8c0f92e149a74400aa31b57da9d05 (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /ln.c
parent3ab1d8193e335afa74e86a8d8e628158d7e503b9 (diff)
downloadbusybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.gz
busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.bz2
busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.zip
Extract usage information into a separate file.
git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'ln.c')
-rw-r--r--ln.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/ln.c b/ln.c
index 9f7774380..8b8fa1c58 100644
--- a/ln.c
+++ b/ln.c
@@ -30,19 +30,6 @@
30#include <dirent.h> 30#include <dirent.h>
31#include <errno.h> 31#include <errno.h>
32 32
33static const char ln_usage[] =
34 "ln [OPTION] TARGET... LINK_NAME|DIRECTORY\n"
35#ifndef BB_FEATURE_TRIVIAL_HELP
36 "\nCreate a link named LINK_NAME or DIRECTORY to the specified TARGET\n"
37 "\nYou may use '--' to indicate that all following arguments are non-options.\n\n"
38 "Options:\n"
39 "\t-s\tmake symbolic links instead of hard links\n"
40
41 "\t-f\tremove existing destination files\n"
42 "\t-n\tno dereference symlinks - treat like normal file\n"
43#endif
44 ;
45
46static int symlinkFlag = FALSE; 33static int symlinkFlag = FALSE;
47static int removeoldFlag = FALSE; 34static int removeoldFlag = FALSE;
48static int followLinks = TRUE; 35static int followLinks = TRUE;