]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(long_options): Use corresponding short-option character
authorJim Meyering <jim@meyering.net>
Sun, 30 Aug 1998 02:52:45 +0000 (02:52 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 30 Aug 1998 02:52:45 +0000 (02:52 +0000)
in place of `1', and `NULL' in place of pointer in initialization.

src/ln.c

index 4de070b2decfc6e81d5a1ff67beda81644284700..3fd01516a074e0558d49bbccbfd3871e6cc0614b 100644 (file)
--- a/src/ln.c
+++ b/src/ln.c
@@ -108,13 +108,13 @@ static int show_version;
 static struct option const long_options[] =
 {
   {"backup", no_argument, NULL, 'b'},
-  {"directory", no_argument, &hard_dir_link, 1},
+  {"directory", no_argument, NULL, 'F'},
   {"no-dereference", no_argument, NULL, 'n'},
   {"force", no_argument, NULL, 'f'},
   {"interactive", no_argument, NULL, 'i'},
   {"suffix", required_argument, NULL, 'S'},
-  {"symbolic", no_argument, &symbolic_link, 1},
-  {"verbose", no_argument, &verbose, 1},
+  {"symbolic", no_argument, NULL, 's'},
+  {"verbose", no_argument, NULL, 'v'},
   {"version-control", required_argument, NULL, 'V'},
   {"help", no_argument, &show_help, 1},
   {"version", no_argument, &show_version, 1},