diff options
| author | tjg <tjg> | 1999-10-13 16:10:51 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:16 +0100 |
| commit | f7a3ce1bd9e66dc46487b3c9f60d11028b9ff35c (patch) | |
| tree | af12a505e179e2fc526b49d3d61a4f896d8754da /main.c | |
| parent | 32514265eae23c9196b09477c63ab26850ecbe6a (diff) | |
Feature: replace `-V' with `version' builtin.
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -11,8 +11,6 @@ static bool dashoh; static void assigndefault(char *,...); static void checkfd(int, enum redirtype); -static const char id[] = "$Release: @(#)" PACKAGE " " VERSION " " RELDATE " $"; - extern int main(int argc, char *argv[], char *envp[]) { char *dashsee[2], *dollarzero, *null[1]; int c; @@ -21,7 +19,7 @@ extern int main(int argc, char *argv[], char *envp[]) { dollarzero = argv[0]; rc_pid = getpid(); dashell = (*argv[0] == '-'); /* Unix tradition */ - while ((c = rc_getopt(argc, argv, "c:deilnopsVvx")) != -1) + while ((c = rc_getopt(argc, argv, "c:deilnopsvx")) != -1) switch (c) { case 'c': dashsee[0] = rc_optarg; @@ -50,9 +48,6 @@ extern int main(int argc, char *argv[], char *envp[]) { case 's': dashess = TRUE; break; - case 'V': - fprint(1, "%s\n", id); - exit(0); case 'v': dashvee = TRUE; break; |