aboutsummaryrefslogtreecommitdiff
path: root/src/tools/myriad.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/myriad.cpp')
-rw-r--r--src/tools/myriad.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/myriad.cpp b/src/tools/myriad.cpp
index 4147579..b3067d2 100644
--- a/src/tools/myriad.cpp
+++ b/src/tools/myriad.cpp
@@ -75,7 +75,7 @@ int main( int argc, char *argv[] )
75 switch( opts.eMode ) 75 switch( opts.eMode )
76 { 76 {
77 case modeCreate: 77 case modeCreate:
78 if( !opts.sOutput ) 78 if( !opts.sOutput.isSet() )
79 { 79 {
80 sio << "Please specify an output file to create a stream for." 80 sio << "Please specify an output file to create a stream for."
81 << sio.nl; 81 << sio.nl;
@@ -90,7 +90,7 @@ int main( int argc, char *argv[] )
90 break; 90 break;
91 91
92 case modeInfo: 92 case modeInfo:
93 if( !opts.sInput ) 93 if( !opts.sInput.isSet() )
94 { 94 {
95 sio << "Please specify an input file to display info about." 95 sio << "Please specify an input file to display info about."
96 << sio.nl; 96 << sio.nl;