mirror of
https://github.com/starship/starship.git
synced 2026-06-24 02:01:36 +07:00
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:
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user