[PR #671] [MERGED] Revert preshared-key shorthand flag #12852

Closed
opened 2026-08-05 02:06:50 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/671
Author: @mlsmaycon
Created: 2/3/2023
Status: Merged
Merged: 2/6/2023
Merged by: @mlsmaycon

Base: mainHead: fix-flag-conflict


📝 Commits (2)

  • 988e643 Remove preshared-key shorthand flag
  • 9897401 add some init tests

📊 Changes

2 files changed (+37 additions, -1 deletions)

View changed files

📝 client/cmd/root.go (+1 -1)
client/cmd/root_test.go (+36 -0)

📄 Description

Describe your changes

This prevents conflict with the
ssh command shorthand flag

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 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/netbirdio/netbird/pull/671 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 2/3/2023 **Status:** ✅ Merged **Merged:** 2/6/2023 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `fix-flag-conflict` --- ### 📝 Commits (2) - [`988e643`](https://github.com/netbirdio/netbird/commit/988e6437f28e9d281ae56a3972cf397ecdf00752) Remove preshared-key shorthand flag - [`9897401`](https://github.com/netbirdio/netbird/commit/9897401604f91a25bcaaddca813752b4e019b09f) add some init tests ### 📊 Changes **2 files changed** (+37 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `client/cmd/root.go` (+1 -1) ➕ `client/cmd/root_test.go` (+36 -0) </details> ### 📄 Description ## Describe your changes This prevents conflict with the ssh command shorthand flag ## Issue ticket number and link ### Checklist - [x] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 02:06:50 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#12852