Commit 3adda04c authored by aurel32's avatar aurel32

Be consistent in -clock parameter. Display also the list of available

sources if no valid clock name has been specified.
(Hervé Poussineau)

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162
parent 56ec06bb
......@@ -916,7 +916,7 @@ static void configure_alarms(char const *opt)
char *arg;
char *name;
if (!strcmp(opt, "help")) {
if (!strcmp(opt, "?")) {
......@@ -958,10 +958,10 @@ next:
/* Disable remaining timers */
for (i = cur; i < count; i++)
alarm_timers[i].name = NULL;
} else {
/* debug */
QEMUClock *rt_clock;
......@@ -7704,7 +7704,7 @@ static void help(int exitcode)
"-prom-env variable=value set OpenBIOS nvram variables\n"
"-clock force the use of the given methods for timer alarm.\n"
" To see what timers are available use -clock help\n"
" To see what timers are available use -clock ?\n"
"-startdate select initial date of the clock\n"
"During emulation, the following keys are useful:\n"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment