Project

General

Profile

Feature #11979

Windows command line help parameter

Added by Sami Cokar 7 months ago. Updated 6 months ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
General
Target version:
Start date:
01/29/2018
Due date:
% Done:

100%

Affected Version:
2.4.1
System:
Windows
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Since Windows uses "/?" as the command line switch for help, can darktable be modified to add that parameter on windows by default?

e.g. 1:
if(!strcmp(argv[k], "--help") || !strcmp(argv[k], "-h") || !strcmp(argv[k], "--version") || !strcmp(arg[k], "/?"))
redirect_output = FALSE;

e.g. 2:
if(!strcmp(arg[k], "-h") || !strcmp(arg[k], "--help") || !strcmp(arg[k], "/?")) {
usage(arg0);
exit(EXIT_FAILURE);
}

History

#1 Updated by Tobias Ellinghaus 7 months ago

  • % Done changed from 0 to 100
  • Status changed from New to Fixed

#2 Updated by Roman Lebedev 6 months ago

  • Target version set to 2.6.0

Also available in: Atom PDF