dashpay / docs-core

Dash Core documentation
https://docs.dash.org/projects/core
MIT License
0 stars 8 forks source link

Is `-usehd` a flag or an option? #33

Closed coolaj86 closed 1 year ago

coolaj86 commented 1 year ago

Docs here show that -usehd is a boolean flag: https://docs.dash.org/projects/core/en/stable/docs/dashcore/wallet-arguments-and-commands-dashd.html

Docs here show that -usehd=1 is an option (meaning a flag that accepts an argument): https://docs.dash.org/en/stable/docs/user/wallets/dashcore/advanced.html

Or is it both?

One (or both) of them needs to be updated.

thephez commented 1 year ago

The former is correct. It is a direct copy from dashd --help. I just noticed the latter yesterday while updating that page. It's in the process of being updated via an open PR.

UdjinM6 commented 1 year ago

You can use it either way, doesn't matter. -usehd is the same as -usehd=1 and no -usehd is the same as -usehd=0 or -nousehd

thephez commented 1 year ago

The PR has been merged so there's no longer an inconsistency between the pages. Thanks for bringing it up :+1: