taskkill: Print a fixme if the /T option is used.
This commit is contained in:
parent
b1c4eecdc8
commit
dbc21a185e
|
@ -22,10 +22,13 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <psapi.h>
|
#include <psapi.h>
|
||||||
|
#include <wine/debug.h>
|
||||||
#include <wine/unicode.h>
|
#include <wine/unicode.h>
|
||||||
|
|
||||||
#include "taskkill.h"
|
#include "taskkill.h"
|
||||||
|
|
||||||
|
WINE_DEFAULT_DEBUG_CHANNEL(taskkill);
|
||||||
|
|
||||||
static int force_termination;
|
static int force_termination;
|
||||||
|
|
||||||
static WCHAR **task_list;
|
static WCHAR **task_list;
|
||||||
|
@ -448,6 +451,7 @@ static BOOL process_arguments(int argc, WCHAR *argv[])
|
||||||
static const WCHAR slashImage[] = {'/','i','m',0};
|
static const WCHAR slashImage[] = {'/','i','m',0};
|
||||||
static const WCHAR slashPID[] = {'/','p','i','d',0};
|
static const WCHAR slashPID[] = {'/','p','i','d',0};
|
||||||
static const WCHAR slashHelp[] = {'/','?',0};
|
static const WCHAR slashHelp[] = {'/','?',0};
|
||||||
|
static const WCHAR slashTerminateChildren[] = {'/','t',0};
|
||||||
|
|
||||||
if (argc > 1)
|
if (argc > 1)
|
||||||
{
|
{
|
||||||
|
@ -465,6 +469,8 @@ static BOOL process_arguments(int argc, WCHAR *argv[])
|
||||||
{
|
{
|
||||||
int got_im = 0, got_pid = 0;
|
int got_im = 0, got_pid = 0;
|
||||||
|
|
||||||
|
if (!strcmpiW(slashTerminateChildren, argv[i]))
|
||||||
|
WINE_FIXME("/T not supported\n");
|
||||||
if (!strcmpiW(slashForceTerminate, argv[i]))
|
if (!strcmpiW(slashForceTerminate, argv[i]))
|
||||||
force_termination = 1;
|
force_termination = 1;
|
||||||
/* Options /IM and /PID appear to behave identically, except for
|
/* Options /IM and /PID appear to behave identically, except for
|
||||||
|
|
Loading…
Reference in New Issue