Skip to content

Accept an explicit empty as-path value - #1932

Open
magrathean-uk wants to merge 2 commits into
rustic-rs:mainfrom
magrathean-uk:fix/1135-empty-as-path
Open

magrathean-uk wants to merge 2 commits into
rustic-rs:mainfrom
magrathean-uk:fix/1135-empty-as-path

Conversation

@magrathean-uk

@magrathean-uk magrathean-uk commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

An explicit empty --as-path value is currently skipped during backup option parsing. Preserve it as a valid value and add a parser regression.

Fixes #1135.

Validation: the combined CLI suite passed 70 tests, including the empty --as-path parser and backup cases; this patch applied to clean main, cargo fmt --check and git diff --check passed. Standalone cargo test --locked --lib as_path_accepts_an_empty_cli_value passed (1/1) on this branch.

magrathean-uk and others added 2 commits September 27, 2026 08:48
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--as-path <PATH> option skips empty string

1 participant