Skip to main content

build_display_command

Function build_display_command 

Source
pub fn build_display_command(command: &str) -> String
Expand description

Build a display string that shows the argument boundaries the user typed (issues #91, #164).

A command the user quoted as one shell script is shown verbatim, because its metacharacters are meant for the shell, not for display.