add -n ( --stop-after ) command line option