mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
cpacfinfo and pv: Fix comment style
Reviewed-by: Finn Callies <fcallies@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
f74b8d7d6f
commit
b21a824fda
@@ -108,16 +108,16 @@ fn out_instructions(args: &Cli, instructions: &Vec<Instruction>) {
|
||||
}
|
||||
|
||||
fn main() -> anyhowRes<()> {
|
||||
/* ---- PARSE COMMAND LINE ARGUMENTS ---- */
|
||||
// ---- PARSE COMMAND LINE ARGUMENTS ----
|
||||
let args: Cli = Cli::parse();
|
||||
|
||||
/* ---- PRINT VERSION STRING ---- */
|
||||
// ---- PRINT VERSION STRING ----
|
||||
if args.version {
|
||||
print_version!("2024");
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
/* ---- SET CONSTANTS ---- */
|
||||
// ---- SET CONSTANTS ----
|
||||
let mut instructions = Vec::new();
|
||||
init_instructions(&mut instructions);
|
||||
|
||||
@@ -133,7 +133,7 @@ fn main() -> anyhowRes<()> {
|
||||
update_msa_function_count(&args, &mut levels[idx_of_last_element], &instructions);
|
||||
}
|
||||
|
||||
/* ---- GET INFORMATION ---- */
|
||||
// ---- GET INFORMATION ----
|
||||
// get stfle bits
|
||||
let stfle_bits = Stfle::new()?;
|
||||
|
||||
@@ -245,7 +245,7 @@ fn main() -> anyhowRes<()> {
|
||||
}
|
||||
}
|
||||
|
||||
/* ---- OUTPUT ---- */
|
||||
// ---- OUTPUT ----
|
||||
match args.msa {
|
||||
true => out_msa(&args, &levels, &instructions),
|
||||
false => out_instructions(&args, &instructions),
|
||||
|
||||
@@ -104,11 +104,11 @@ impl<'d> InnerPem<'d> {
|
||||
/// println!("PEM {pem}");
|
||||
/// ```
|
||||
/// ```PEM
|
||||
///-----BEGIN <name>-----
|
||||
///<header>
|
||||
/// -----BEGIN <name>-----
|
||||
/// <header>
|
||||
///
|
||||
///<Base64 formatted binary data>
|
||||
///-----END <name>-----
|
||||
/// <Base64 formatted binary data>
|
||||
/// -----END <name>-----
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Pem {
|
||||
|
||||
@@ -18,11 +18,11 @@ use zerocopy::{FromBytes, U16};
|
||||
///
|
||||
/// Will convert into PEM as:
|
||||
/// ```PEM
|
||||
///-----BEGIN IBM PROTECTED KEY-----
|
||||
///kind: <name>
|
||||
/// -----BEGIN IBM PROTECTED KEY-----
|
||||
/// kind: <name>
|
||||
///
|
||||
///<protected key in base64>
|
||||
///-----END IBM PROTECTED KEY-----
|
||||
/// <protected key in base64>
|
||||
/// -----END IBM PROTECTED KEY-----
|
||||
/// ```
|
||||
#[derive(Debug, PartialEq, Eq)]
|
||||
pub struct IbmProtectedKey {
|
||||
|
||||
Reference in New Issue
Block a user