@@ -139,13 +139,13 @@ HTTPClient: TFPHttpClient; {$ENDIF} begin // What's the current running groff version? {$IFDEF WINDOWS} - if RunCommand('cmd', ['/c', 'troff', '--version'], GroffOutputVersion) then + if RunCommand('cmd', ['/c', 'troff --version'], GroffOutputVersion) then {$ELSE} - if RunCommand('/bin/sh', ['-c', 'troff', '--version'], GroffOutputVersion) then + if RunCommand('/bin/sh', ['-c', 'troff --version'], GroffOutputVersion) then {$ENDIF} begin edtGroffInstalledVersion.Text := GroffOutputVersion; if pos('GNU', GroffOutputVersion) = 0 then ShowMessage('groffstudio thinks that your installed version of troff is not GNU troff.' + LineEnding +