mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
rust/genprotimg: Add '--help-all' and '--help-experimental' for backward compatibility
The '--help-all' and '--help-experimental' flags are now considered
deprecated, but should still be available for backward compatibility.
Fixes: f4cf4ae6eb ("rust: Add a new tool called 'pvimg'")
Reviewed-by: Steffen Eiden <seiden@linux.ibm.com>
Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
4df0781989
commit
8c21f09570
@@ -248,6 +248,14 @@ pub struct GenprotimgCliOptions {
|
||||
// version command.
|
||||
#[arg(long, action = clap::ArgAction::SetTrue )]
|
||||
pub version: (),
|
||||
|
||||
#[arg(long, action = clap::ArgAction::HelpLong, hide(true))]
|
||||
/// Print help (deprecated, use '--help' instead).
|
||||
help_all: (),
|
||||
|
||||
#[arg(long, action = clap::ArgAction::HelpLong, hide(true))]
|
||||
/// Print help (deprecated, use '--help' instead).
|
||||
help_experimental: (),
|
||||
}
|
||||
|
||||
impl GenprotimgCliOptions {
|
||||
|
||||
Reference in New Issue
Block a user