Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FileIO usage tweaks [DEVINFRA-640] (#429)
* Improve error for empty remote path * Fix up serial in usage & some help strings * Add info to file errors * Add error for reading non-existent file * Improve usage and error messages * PATH -> FILE_PATH for delete * Fixed missed PATH -> FILE_PATH * Make error on 0 byte file read more informative This could either mean the file actually is 0 bytes, the file doesn't exist, or the file isn't allowed to be accessed * Update usage Changed "Piksi" to "Swift device" and separated to the "cp to" and "cp from" examples * Use master version of Clap This gets clap-rs/clap#3421 which enables the help to show when no arguments are given and there are defaults. * Fix formatting of cargo.toml * Upgrade to Clap 3.1.0 Co-authored-by: Jason Mobarak <jason@swiftnav.com>
- Loading branch information
1 parent
f15a1be
commit ae40d71
Showing
4 changed files
with
108 additions
and
58 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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