From 1f54f5d0fbc487228caec086f61557967de89ef6 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Fri, 6 Dec 2013 21:11:15 -0800 Subject: [PATCH] cosmetic changes --- tools/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/main.c b/tools/main.c index 8c5ad06c..5aa3d8d5 100644 --- a/tools/main.c +++ b/tools/main.c @@ -209,7 +209,7 @@ exec_string(pic_state *pic, const char *str) } static char *fname; -static char *one_liner; +static char *script; enum { NO_MODE = 0, @@ -229,7 +229,7 @@ parse_opt(int argc, char *argv[]) print_help(); exit(0); case 'e': - one_liner = optarg; + script = optarg; mode = ONE_LINER_MODE; } } @@ -267,7 +267,7 @@ main(int argc, char *argv[], char **envp) res = exec_file(pic, fname); break; case ONE_LINER_MODE: - res = exec_string(pic, one_liner); + res = exec_string(pic, script); break; }