[PR #757] [MERGED] Improve getopts and stderr message consistency in main #1062

Closed
opened 2026-02-27 20:01:00 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/librespot-org/librespot/pull/757
Author: @roderickvd
Created: 5/25/2021
Status: Merged
Merged: 5/26/2021
Merged by: @roderickvd

Base: devHead: improve-getopts-and-stderr-consistency


📝 Commits (6)

  • 2d2faed Improve getopts and stderr message consistency in main
  • 029a35f Remove remnant from #685
  • 0e55955 Add --help command line option
  • 2c9ac40 Merge branch 'dev' and some minor touch-ups
  • c405585 Remove unnecessary to_string()
  • 3e2a71e Description changes for Alsa/softvol

📊 Changes

1 file changed (+188 additions, -167 deletions)

View changed files

📝 src/main.rs (+188 -167)

📄 Description

There is no definitive standard on how to format getopts strings.
Usage of curly brackets seems best practice by these standards:

This is cosmetic only and was mostly extracted from #685.


🔄 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/librespot-org/librespot/pull/757 **Author:** [@roderickvd](https://github.com/roderickvd) **Created:** 5/25/2021 **Status:** ✅ Merged **Merged:** 5/26/2021 **Merged by:** [@roderickvd](https://github.com/roderickvd) **Base:** `dev` ← **Head:** `improve-getopts-and-stderr-consistency` --- ### 📝 Commits (6) - [`2d2faed`](https://github.com/librespot-org/librespot/commit/2d2faede4a036157afec0ef73cdb7688462804e4) Improve getopts and stderr message consistency in main - [`029a35f`](https://github.com/librespot-org/librespot/commit/029a35fc6ace5df129bf8bc172108375348b531b) Remove remnant from #685 - [`0e55955`](https://github.com/librespot-org/librespot/commit/0e55955bf1128caa1ef41970c0acd37c2f4eb34a) Add `--help` command line option - [`2c9ac40`](https://github.com/librespot-org/librespot/commit/2c9ac40669aee30cb7a7b481cbc03d048c40f6e3) Merge branch 'dev' and some minor touch-ups - [`c405585`](https://github.com/librespot-org/librespot/commit/c4055852e5423931b1d33731fd66787b117ad97a) Remove unnecessary `to_string()` - [`3e2a71e`](https://github.com/librespot-org/librespot/commit/3e2a71e44d30b945c3caa74300e8e216b7099a2a) Description changes for Alsa/softvol ### 📊 Changes **1 file changed** (+188 additions, -167 deletions) <details> <summary>View changed files</summary> 📝 `src/main.rs` (+188 -167) </details> ### 📄 Description There is no definitive standard on how to format getopts strings. Usage of curly brackets seems best practice by these standards: - http://www.tfug.org/helpdesk/general/man.html - https://developers.google.com/style/code-syntax This is cosmetic only and was mostly extracted from #685. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:01:00 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot#1062
No description provided.