diff options
author | Ben Widawsky <benjamin.widawsky@intel.com> | 2015-01-12 08:35:52 -0800 |
---|---|---|
committer | Ben Widawsky <benjamin.widawsky@intel.com> | 2015-01-12 08:35:52 -0800 |
commit | da77f8c968f451e26b4279c71e0986dca259fa96 (patch) | |
tree | 26429f1bd607607091f2e0f0c3f2e8acf90fe418 | |
parent | e1cb4041855e5ffb05d9b41767417ca47fe66db4 (diff) |
tempintel-freq
-rw-r--r-- | tools/intel_frequency.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/intel_frequency.c b/tools/intel_frequency.c index 22d1ac9b..12056546 100644 --- a/tools/intel_frequency.c +++ b/tools/intel_frequency.c @@ -191,12 +191,18 @@ parse(int argc, char *argv[], bool *act_upon, int *new_freq) (char *)info[MAX].name }; +#if 0 /* No args means -g" */ if (argc == 1) { + for (c = 0; c < ARRAY_SIZE(act_upon); c++) act_upon[c] = true; goto done; } +#else + if (argc == 1) + usage(argv[0]); +#endif while (1) { int option_index = 0; static struct option long_options[] = { |