From 17872f2bbff8a8fdc43c56f6a1dd2ecb01c269e7 Mon Sep 17 00:00:00 2001 From: Ivan X Date: Tue, 2 Feb 2016 07:37:04 -0500 Subject: [PATCH] only mentions cppo on help screen if it's installed --- setup/acmd.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup/acmd.txt b/setup/acmd.txt index 1df25e9..35a700c 100644 --- a/setup/acmd.txt +++ b/setup/acmd.txt @@ -22,7 +22,9 @@ helpExit () { echoerr " ProDOS subdirectories in will be created if needed." echoerr " If an AppleDouble file or Nulib2 extended filename is detected," echoerr " and are automatically set, and resource forks are kept." - echoerr " (To extract these from a ProDOS image file, use cppo -ad or cppo -e.)" + if hash cppo &> /dev/null; then + echoerr " (To extract these from a ProDOS image file, use cppo -ad or cppo -e.)" + fi echoerr "-c [[$|0x]] [[$|0x]] synonym for -p" echoerr " with filename and imagename reversed." #echoerr "-cd |"