public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-packager] epel10: Add help documentation about $FKINIT_OTP variable
@ 2026-06-25 13:19 Stephen Gallagher
0 siblings, 0 replies; only message in thread
From: Stephen Gallagher @ 2026-06-25 13:19 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/fedora-packager
Branch : epel10
Commit : f818d36ccd8afe074520f4bd358792558cce16a5
Author : Stephen Gallagher <sgallagh@redhat.com>
Date : 2025-02-06T14:39:00-05:00
Stats : +5/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/fedora-packager/c/f818d36ccd8afe074520f4bd358792558cce16a5?branch=epel10
Log:
Add help documentation about $FKINIT_OTP variable
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
---
diff --git a/fkinit b/fkinit
index 077678d..d2add1a 100755
--- a/fkinit
+++ b/fkinit
@@ -3,7 +3,7 @@
# Created by argbash-init v2.10.0
# ARG_OPTIONAL_SINGLE([user],[u],[Fedora account name],[$USER])
# ARG_OPTIONAL_BOOLEAN([staging],[],[Use the staging infrastructure])
-# ARG_HELP([Acquire a Kerberos ticket-granting ticket for Fedora])
+# ARG_HELP([Acquire a Kerberos ticket-granting ticket for Fedora],[If the environment variable \$FKINIT_OTP is set, it will be read for the one-time password instead of prompting for it.])
# ARGBASH_GO()
# needed because of Argbash --> m4_ignore([
### START OF CODE GENERATED BY Argbash v2.10.0 one line above ###
@@ -37,8 +37,9 @@ print_help()
printf '%s\n' "Acquire a Kerberos ticket-granting ticket for Fedora"
printf 'Usage: %s [-u|--user <arg>] [--(no-)staging] [-h|--help]\n' "$0"
printf '\t%s\n' "-u, --user: Fedora account name (default: '$USER')"
- printf '\t%s\n' "--staging: Use the staging infrastructure (off by default)"
+ printf '\t%s\n' "--staging, --no-staging: Use the staging infrastructure (off by default)"
printf '\t%s\n' "-h, --help: Prints help"
+ printf '\n%s\n' "If the environment variable \$FKINIT_OTP is set, it will be read for the one-time password instead of prompting for it."
}
@@ -59,8 +60,9 @@ parse_commandline()
-u*)
_arg_user="${_key##-u}"
;;
- --staging)
+ --no-staging|--staging)
_arg_staging="on"
+ test "${1:0:5}" = "--no-" && _arg_staging="off"
;;
-h|--help)
print_help
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-25 13:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-25 13:19 [rpms/fedora-packager] epel10: Add help documentation about $FKINIT_OTP variable Stephen Gallagher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox