diff --git a/backend/sync_server/src/cli/args.rs b/backend/sync_server/src/cli/args.rs index ec5739f..88ff171 100644 --- a/backend/sync_server/src/cli/args.rs +++ b/backend/sync_server/src/cli/args.rs @@ -2,10 +2,13 @@ use std::ffi::OsString; use clap::{Parser, ValueEnum}; -/// Simple program to greet a person +/// Server for backing the VaultLink plugin #[derive(Parser, Debug)] #[command(version, about, long_about = None)] pub struct Args { + #[arg(index = 1)] + pub config_path: Option, + #[arg( long, require_equals = true, @@ -16,9 +19,6 @@ pub struct Args { value_enum )] pub color: ColorWhen, - - #[arg(last = true)] - pub config_path: Option, } #[derive(ValueEnum, Copy, Clone, Debug, PartialEq, Eq)]