-
Notifications
You must be signed in to change notification settings - Fork 36.7k
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
[init] Add missing help for args #7290
Conversation
utACK. |
utACK On Tuesday, 5 January 2016, Jonas Schnelli notifications@github.com wrote:
|
Needs rebase after #7257 |
Rebased. |
@@ -453,6 +459,7 @@ std::string HelpMessage(HelpMessageMode mode) | |||
if (showDebug) | |||
{ | |||
strUsage += HelpMessageOpt("-logtimemicros", strprintf("Add microsecond precision to debug timestamps (default: %u)", DEFAULT_LOGTIMEMICROS)); | |||
strUsage += HelpMessageOpt("-mocktime=<n>", "Replace actual time with <n> (default: 0)"); |
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.
As -mocktime=0
is a no op, I'd remove the default. What about this:
Replace actual time with <n> seconds since epoch
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.
It's a developer documentation and I think it's useful to know that 0 means noop.
Though, I am using your extended description.
But ACK anyway. |
@laanwj Anything holding this back? (Some of this actually should go into 0.12.0, I can prepare the backport after you did the merge) |
rc1 has be detached. I guess only important bugfixes should go into 0.12 now. But Re-ACK for master. |
Github-Pull: bitcoin#7290 Rebased-From: fac11ea
Github-Pull: bitcoin#7290 Rebased-From: fa6ab96 faa572a fa461df
No description provided.