summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-08-30 02:52:45 +0000
committerJim Meyering <jim@meyering.net>1998-08-30 02:52:45 +0000
commitda2761cc1a68bbecc95f8ce5cf428f4403f07a2d (patch)
treeb7bec34964b4058665efac8d29f849d3ac06a2eb /src
parent1fc1a659689e9847c58293ddd5f31dab3aa798c8 (diff)
downloadcoreutils-da2761cc1a68bbecc95f8ce5cf428f4403f07a2d.tar.xz
(long_options): Use corresponding short-option character
in place of `1', and `NULL' in place of pointer in initialization.
Diffstat (limited to 'src')
-rw-r--r--src/ln.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ln.c b/src/ln.c
index 4de070b2d..3fd01516a 100644
--- 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},