diff options
| author | Lojewski, Evan <github@meklort.com> | 2019-05-12 10:20:02 -0600 |
|---|---|---|
| committer | Lojewski, Evan <github@meklort.com> | 2019-05-12 10:20:02 -0600 |
| commit | 2b381ecd8d42eac1ed0e8e5b862f671029f364f0 (patch) | |
| tree | ae72df9eca99ea1f14f86525ed5ffd4ecfd1d74a /utils/bcmflash/main.cpp | |
| parent | 45edda7674c09e27fdf5da557ca00cb6c7062eb9 (diff) | |
| download | bcm5719-ortega-2b381ecd8d42eac1ed0e8e5b862f671029f364f0.tar.gz bcm5719-ortega-2b381ecd8d42eac1ed0e8e5b862f671029f364f0.zip | |
Fix printout when unable to opne stage1/ape files.
Diffstat (limited to 'utils/bcmflash/main.cpp')
| -rw-r--r-- | utils/bcmflash/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/bcmflash/main.cpp b/utils/bcmflash/main.cpp index 7d2ec18..4afe5b8 100644 --- a/utils/bcmflash/main.cpp +++ b/utils/bcmflash/main.cpp @@ -136,7 +136,7 @@ int main(int argc, char const *argv[]) .help("Update the target with the specified stage1 image, if possible.") .metavar("STAGE1"); - parser.add_option("-ape", "--ape") + parser.add_option("-a", "--ape") .dest("ape") .help("Update the target with the specified ape image, if possible.") .metavar("APE"); @@ -375,7 +375,7 @@ int main(int argc, char const *argv[]) } else { - cerr << " Unable to open file '" << options["filename"] << "'" << endl; + cerr << " Unable to open file '" << options["stage1"] << "'" << endl; exit(-1); } exit(0); @@ -527,7 +527,7 @@ int main(int argc, char const *argv[]) } else { - cerr << " Unable to open file '" << options["filename"] << "'" << endl; + cerr << " Unable to open file '" << options["ape"] << "'" << endl; exit(-1); } exit(0); |

