Skip to content

Commit

Permalink
chore: keep alphabet order of non-addr options
Browse files Browse the repository at this point in the history
  • Loading branch information
penandlim committed Feb 28, 2024
1 parent 38ebde2 commit 61606d5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,14 @@ data Options = Options
, cliAllContracts :: Bool
, cliTimeout :: Maybe Int
, cliTestLimit :: Maybe Int
, cliRpcBlock :: Maybe Word64
, cliRpcUrl :: Maybe Text
, cliShrinkLimit :: Maybe Int
, cliSeqLen :: Maybe Int
, cliContractAddr :: Maybe Addr
, cliDeployer :: Maybe Addr
, cliSender :: [Addr]
, cliSeed :: Maybe Int
, cliRpcUrl :: Maybe Text
, cliRpcBlock :: Maybe Word64
, cliCryticArgs :: Maybe String
, cliSolcArgs :: Maybe String
}
Expand Down Expand Up @@ -176,6 +176,12 @@ options = Options
<*> optional (option auto $ long "test-limit"
<> metavar "INTEGER"
<> help ("Number of sequences of transactions to generate during testing. Default is " ++ show defaultTestLimit))
<*> optional (option auto $ long "rpc-block"
<> metavar "BLOCK"
<> help "Block number to use when fetching over RPC.")
<*> optional (option str $ long "rpc-url"
<> metavar "URL"
<> help "Fetch contracts over a RPC URL.")
<*> optional (option auto $ long "shrink-limit"
<> metavar "INTEGER"
<> help ("Number of tries to attempt to shrink a failing sequence of transactions. Default is " ++ show defaultShrinkLimit))
Expand All @@ -194,12 +200,6 @@ options = Options
<*> optional (option auto $ long "seed"
<> metavar "SEED"
<> help "Run with a specific seed.")
<*> optional (option str $ long "rpc-url"
<> metavar "URL"
<> help "Fetch contracts over a RPC URL.")
<*> optional (option auto $ long "rpc-block"
<> metavar "BLOCK"
<> help "Block number to use when fetching over RPC.")
<*> optional (option str $ long "crytic-args"
<> metavar "ARGS"
<> help "Additional arguments to use in crytic-compile for the compilation of the contract to test.")
Expand Down

0 comments on commit 61606d5

Please sign in to comment.