Bug 473859 - Add short options for --include-dependencies and --no-include-dependencies
Summary: Add short options for --include-dependencies and --no-include-dependencies
Status: RESOLVED FIXED
Alias: None
Product: kdesrc-build
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-28 15:32 UTC by Andrew Shark
Modified: 2024-05-10 09:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Shark 2023-08-28 15:32:57 UTC
When using kdesrc-build, it is inconvenient that you need to type the whole "--no-include-dependencies" when you want that.
Can we add a short options for this? For example, `-d` for include dependencies, and `-D` to not include dependencies.
Comment 1 Andrew Shark 2023-09-05 15:19:30 UTC
A possibly relevant merge request was started @ https://invent.kde.org/sdk/kdesrc-build/-/merge_requests/283
Comment 2 Michael Pyne 2023-09-07 00:34:58 UTC
Git commit 5b155c5e29dd2d377fd1f84fb42d0e629a9f368b by Michael Pyne.
Committed on 07/09/2023 at 02:34.
Pushed by mpyne into branch 'master'.

Add short options for --[no-]include-dependencies.

This adds and documents -d as a short alias for --include-dependencies, and a corresponding -D as its negation.

While I'm at it, and at user request, this also adds short options for:

* --help
* --no-src
* --src-only
* --refresh-build
* --ignore-modules
* --resume-from and --resume-after

M  +11   -11   doc/index.docbook
M  +28   -10   doc/man-kdesrc-build.1.docbook
M  +37   -21   modules/ksb/Cmdline.pm

https://invent.kde.org/sdk/kdesrc-build/-/commit/5b155c5e29dd2d377fd1f84fb42d0e629a9f368b
Comment 3 Michael Pyne 2024-05-10 09:17:03 UTC
Git commit 5c8758a40dd9c47b73c22f77be71f09a2051d3bf by Michael Pyne.
Committed on 07/09/2023 at 00:34.
Pushed by ashark into branch 'docbook_historied_per_file'.

Add short options for --[no-]include-dependencies.

This adds and documents -d as a short alias for --include-dependencies, and a corresponding -D as its negation.

While I'm at it, and at user request, this also adds short options for:

* --help
* --no-src
* --src-only
* --refresh-build
* --ignore-modules
* --resume-from and --resume-after

Original commit: 5b155c5e
https://invent.kde.org/sdk/kdesrc-build/-/commit/5b155c5e29dd2d377fd1f84fb42d0e629a9f368b

M  +11   -11   doc/cmdline/supported-cmdline-params.docbook

https://invent.kde.org/sdk/kdesrc-build/-/commit/5c8758a40dd9c47b73c22f77be71f09a2051d3bf