New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[timedclient] implement MaximalTimeoutSnoozeCounter #2
Conversation
|
previously, and thus, there was no way to actually set this value with timedclient |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should also list this option with --help?
cc @spiiroin
tools/timedclient/timedclient.cpp
Outdated
| @@ -1482,6 +1482,10 @@ static void do_add_event(char *args) | |||
| { | |||
| cur_eve.setTimezone(val); | |||
| } | |||
| else if( !strcmp(key, "MaximalTimeoutSnoozeCounter") ) | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this should start with lower case like other event args?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 (i was copying the info msg, ill change both)
7ac1b98
to
5c88630
Compare
tools/timedclient/timedclient.cpp
Outdated
| @@ -881,7 +881,7 @@ static void event_emit_details(CONST Maemo::Timed::Event &eve) | |||
| { | |||
| event_emit_info(eve); | |||
|
|
|||
| printf(" MaximalTimeoutSnoozeCounter: %d\n", | |||
| printf(" maximalTimeoutSnoozeCounter: %d\n", | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose this should stay upper case to be consistent with the below items. Being more kind of "pretty printed" details.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
|
Included in timed >= 3.6.15 |
No description provided.