fix(status): Enable to convert from i64 to hex_status by casting instead of parsing status. (#3462)

* fix(status): Enable to convert from i64 to hex_status by casting instead of parsing status.

* Apply comment to src/context.rs

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

* Update README.md in configuration

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
This commit is contained in:
moko256
2022-02-06 05:13:42 +09:00
committed by GitHub
parent 0b184c3ccb
commit bbdb584f45
4 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -575,7 +575,7 @@ pub enum Target {
/// Properties as passed on from the shell as arguments
#[derive(Parser, Debug)]
pub struct Properties {
/// The status code of the previously run command
/// The status code of the previously run command as an unsigned or signed 32bit integer
#[clap(short = 's', long = "status")]
pub status_code: Option<String>,
/// Bash, Fish and Zsh support returning codes for each process in a pipeline.