Skip to content

Commit

Permalink
feat: allow --db before or after subcommand (#1827)
Browse files Browse the repository at this point in the history
  • Loading branch information
onbjerg committed Mar 18, 2023
1 parent 7ac06cd commit d774d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/reth/src/db/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub struct Command {
/// - Linux: `$XDG_DATA_HOME/reth/db` or `$HOME/.local/share/reth/db`
/// - Windows: `{FOLDERID_RoamingAppData}/reth/db`
/// - macOS: `$HOME/Library/Application Support/reth/db`
#[arg(long, value_name = "PATH", verbatim_doc_comment, default_value_t)]
#[arg(global = true, long, value_name = "PATH", verbatim_doc_comment, default_value_t)]
db: PlatformPath<DbPath>,

#[clap(subcommand)]
Expand Down

0 comments on commit d774d91

Please sign in to comment.