[PR #394] [MERGED] Allow options to be set in any position #458

Closed
opened 2026-06-08 11:28:27 +03:00 by zhus · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bootandy/dust/pull/394
Author: @eatsu
Created: 4/29/2024
Status: Merged
Merged: 5/1/2024
Merged by: @bootandy

Base: masterHead: allow-trailing-opts


📝 Commits (1)

  • 47adbc5 Allow options to be set in any position

📊 Changes

1 file changed (+0 additions, -1 deletions)

View changed files

📝 src/cli.rs (+0 -1)

📄 Description

Currently options following regular arguments are not interpreted as options. This fixes that.

Users can still treat values starting with a hyphen (-) as regular arguments by using --, e.g.:

dust -d 2 -r ~/Documents -F -- --this-is-my-dir

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bootandy/dust/pull/394 **Author:** [@eatsu](https://github.com/eatsu) **Created:** 4/29/2024 **Status:** ✅ Merged **Merged:** 5/1/2024 **Merged by:** [@bootandy](https://github.com/bootandy) **Base:** `master` ← **Head:** `allow-trailing-opts` --- ### 📝 Commits (1) - [`47adbc5`](https://github.com/bootandy/dust/commit/47adbc5b68874c1153f994cfcf956922aa2b3c51) Allow options to be set in any position ### 📊 Changes **1 file changed** (+0 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/cli.rs` (+0 -1) </details> ### 📄 Description Currently options following regular arguments are not interpreted as options. This fixes that. Users can still treat values starting with a hyphen (`-`) as regular arguments by using `--`, e.g.: dust -d 2 -r ~/Documents -F -- --this-is-my-dir --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
zhus added the pull-request label 2026-06-08 11:28:27 +03:00
zhus closed this issue 2026-06-08 11:28:28 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bootandy/archived-dust#458