From 0ce507b4ad38d5fea42001922bb1571af34cc939 Mon Sep 17 00:00:00 2001 From: PatStiles <33334338+PatStiles@users.noreply.github.com> Date: Fri, 24 Feb 2023 19:04:41 -0600 Subject: [PATCH] Remove "--path" from reth import (#1553) Co-authored-by: Georgios Konstantopoulos --- bin/reth/src/chain/import.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/reth/src/chain/import.rs b/bin/reth/src/chain/import.rs index 2173d953dd..1a3415242e 100644 --- a/bin/reth/src/chain/import.rs +++ b/bin/reth/src/chain/import.rs @@ -69,7 +69,7 @@ pub struct ImportCommand { /// /// The online stages (headers and bodies) are replaced by a file import, after which the /// remaining stages are executed. - #[arg(long, value_name = "IMPORT_PATH", verbatim_doc_comment)] + #[arg(value_name = "IMPORT_PATH", verbatim_doc_comment)] path: PlatformPath, } @@ -182,7 +182,7 @@ mod tests { fn parse_common_import_command_chain_args() { for chain in ["mainnet", "sepolia", "goerli"] { let args: ImportCommand = - ImportCommand::parse_from(["reth", "--chain", chain, "--path", "."]); + ImportCommand::parse_from(["reth", "--chain", chain, "."]); assert_eq!(args.chain.chain, chain.parse().unwrap()); } }