sh: manage options