[PR #15] [MERGED] Add support for -d depth flag #255

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

📋 Pull Request Information

Original PR: https://github.com/bootandy/dust/pull/15
Author: @bootandy
Created: 4/27/2018
Status: Merged
Merged: 4/27/2018
Merged by: @bootandy

Base: masterHead: depth2


📝 Commits (4)

  • e6c777f Add support for -d depth flag
  • 0f1f823 Add long options to cmd line params
  • 8170a07 Increase default to 20 from 15
  • 4ac85d7 Simplify tests

📊 Changes

5 files changed (+131 additions, -73 deletions)

View changed files

📝 README.md (+8 -7)
📝 src/display.rs (+29 -22)
📝 src/main.rs (+49 -5)
📝 src/tests.rs (+12 -33)
📝 src/utils/mod.rs (+33 -6)

📄 Description

Following a user request the option '-d N' allows a user to output N
levels of sub directories.

Fixed bug: so that trailing slashes are now removed.


🔄 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/15 **Author:** [@bootandy](https://github.com/bootandy) **Created:** 4/27/2018 **Status:** ✅ Merged **Merged:** 4/27/2018 **Merged by:** [@bootandy](https://github.com/bootandy) **Base:** `master` ← **Head:** `depth2` --- ### 📝 Commits (4) - [`e6c777f`](https://github.com/bootandy/dust/commit/e6c777fb8bfe079b6a517abd4f8a80ff6611e251) Add support for -d depth flag - [`0f1f823`](https://github.com/bootandy/dust/commit/0f1f82373655c2c188404367c2817751e8910c60) Add long options to cmd line params - [`8170a07`](https://github.com/bootandy/dust/commit/8170a078863fa872d27b75ae7cfc5e1669bc0f8c) Increase default to 20 from 15 - [`4ac85d7`](https://github.com/bootandy/dust/commit/4ac85d7dc98b08de411103a343e8bc892bf152ca) Simplify tests ### 📊 Changes **5 files changed** (+131 additions, -73 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+8 -7) 📝 `src/display.rs` (+29 -22) 📝 `src/main.rs` (+49 -5) 📝 `src/tests.rs` (+12 -33) 📝 `src/utils/mod.rs` (+33 -6) </details> ### 📄 Description Following a user request the option '-d N' allows a user to output N levels of sub directories. Fixed bug: so that trailing slashes are now removed. --- <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:26:28 +03:00
zhus closed this issue 2026-06-08 11:26:29 +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#255