-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specify PathBuf type for blockdevs in parser
Note that this does virtually nothing. A PathBuf is basically just an OsString with extra behaviors. And it can always be parsed from a String, which is the clap default argument value type. All it means is that when processing the argument values, the paths will not have to be converted to Strings and then Pathbuf's because that conversion happened when they were read. It is really just good practice. Signed-off-by: mulhern <[email protected]>
- Loading branch information
Showing
1 changed file
with
21 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters