Distinguish between termshot flags and command flags
mainBecause termshot executes other commands, you may need to pass flags to the underlying command that conflict with termshot's own flags. To ensure flags are interpreted correctly, use the -- separator.
Flags appearing before -- are interpreted by termshot.
Flags appearing after -- are passed directly to the command being executed.
# termshot uses --margin, but the 'ls' command doesn't.
# This is correct:
termshot --margin 10 ls -la
# If you want to pass a flag to the command being run:
termshot -- ls -la --color