diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-05-16 20:07:38 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-05-16 20:07:38 +0000 |
commit | 499f65fb98a8258f8704b52efb3a99da0c82f785 (patch) | |
tree | 8bb86bf2d07ab298eff29daea039449e87d90166 /coreutils/date.c | |
parent | 969f9b0486792829378ff7397ee53c1475b22cdc (diff) |
Some updates for better portability.
-Erik
Diffstat (limited to 'coreutils/date.c')
-rw-r--r-- | coreutils/date.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/date.c b/coreutils/date.c index dd054be66..67d61a510 100644 --- a/coreutils/date.c +++ b/coreutils/date.c @@ -181,7 +181,7 @@ int date_main(int argc, char **argv) set_time = 1; if (date_str != NULL) usage(date_usage); - date_str = optarg; + date_str = *argv; break; case 'u': utc = 1; @@ -192,7 +192,7 @@ int date_main(int argc, char **argv) use_arg = 1; if (date_str != NULL) usage(date_usage); - date_str = optarg; + date_str = *argv; break; case '-': usage(date_usage); |