Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Commit

Permalink
refactor docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tonypony220 committed Jun 14, 2023
1 parent 52773c9 commit f34769a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion page/docs/guide/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ optional arguments:
Specify the initial balance of accounts to be predeployed; defaults to 1e+21
--seed SEED Specify the seed for randomness of accounts to be predeployed
--hide-predeployed-contracts, --hide-predeployed-accounts
Prevents from printing the predeployed accounts details. Argument --hide-predeployed-accounts is deprecated
Prevents from printing the predeployed contracts details. Argument --hide-predeployed-accounts is deprecated
--start-time START_TIME
Specify the start time of the genesis block in Unix time seconds
--gas-price GAS_PRICE, -g GAS_PRICE
Expand Down
4 changes: 2 additions & 2 deletions starknet_devnet/devnet_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def __init__(self, nargs=0, **kw):
def __call__(self, parser, namespace, values, option_string=None):
if option_string == "--hide-predeployed-accounts":
warn(
"WARNING: Argument --hide-predeployed-accounts is deprecated",
"WARNING: Argument --hide-predeployed-accounts is deprecated; applying --hide-predeployed-contracts instead",
file=sys.stderr,
)
setattr(namespace, self.dest, True)
Expand Down Expand Up @@ -347,7 +347,7 @@ def parse_args(raw_args: List[str]):
"--hide-predeployed-contracts",
"--hide-predeployed-accounts", # for backwards compatibility
action=WarnIfDeprecatedArgumentAction,
help="Prevents from printing the predeployed contracts details",
help="Prevents from printing the predeployed contracts details. Argument --hide-predeployed-accounts is deprecated",
)
parser.add_argument(
"--start-time",
Expand Down

0 comments on commit f34769a

Please sign in to comment.