Skip to content

Commit

Permalink
Add support for '-' filename syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
slyshot committed Jun 5, 2023
1 parent 463492b commit 8ee2d1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ int app( int argc, char** argv ) {
std::cout << "Run maim --help for more information." << std::endl;
return 0;
}
maimOptions->savepathGiven = ( maimOptions->savepathGiven && maimOptions->savepath != "-" );

if ( maimOptions->select ) {
if ( maimOptions->windowGiven || maimOptions->parentGiven || maimOptions->geometryGiven ) {
Expand Down

0 comments on commit 8ee2d1a

Please sign in to comment.