From 448e6384bd8d4f3c2fda0c172e1be9be9de4d013 Mon Sep 17 00:00:00 2001 From: spaetz Date: Tue, 20 May 2008 12:40:37 +0000 Subject: [PATCH] fix indention of my changes to just TABS as that is the existing indention style git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@1070 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/navit/main.c | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/navit/navit/main.c b/navit/navit/main.c index 93ed611..1a6b265 100644 --- a/navit/navit/main.c +++ b/navit/navit/main.c @@ -196,35 +196,35 @@ int main(int argc, char **argv) int opt; opterr=0; //don't bomb out on errors. if (argc > 1) { - while((opt = getopt(argc, argv, ":hvc:d:")) != -1) { - switch(opt) { - case 'h': - print_usage(); - exit(0); - break; - case 'v': - printf("%s %s\n", "navit", "0.0.4+svn"); - exit(0); - break; - case 'c': - printf("config file n is set to `%s'\n", optarg); + while((opt = getopt(argc, argv, ":hvc:d:")) != -1) { + switch(opt) { + case 'h': + print_usage(); + exit(0); + break; + case ' v': + printf(" %s %s\n", "navit", "0.0.4+svn"); + exit(0); + break; + case 'c': + printf("c onfig file n is set to `%s'\n", optarg); config_file = optarg; - break; - case 'd': - printf("TODO Verbose option is set to `%s'\n", optarg); - break; - case ':': - fprintf(stderr, "navit: Error - Option `%c' needs a value\n", optopt); - print_usage(); - exit(1); - break; - case '?': - fprintf(stderr, "navit: Error - No such option: `%c'\n", optopt); - print_usage(); - exit(1); - } + break; + case 'd': + printf("T ODO Verbose option is set to `%s'\n", optarg); + break; + case ':': + fprintf(stderr, "navit: Error - Option `%c' needs a value\n", optopt); + print_usage(); + exit(1); + break; + case '?': + fprintf(stderr, "navit: Error - No such option: `%c'\n", optopt); + print_usage(); + exit(1); + } } - } + } if (optind < argc) { // there are still unknown non config options left on the command line. print_usage(); -- 2.7.4