Browse Source

HADOOP-17931. Fix typos in usage message in winutils.exe (#3490)

Gautham B A 3 years ago
parent
commit
ae6cd4cea5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      hadoop-common-project/hadoop-common/src/main/winutils/task.c

+ 2 - 2
hadoop-common-project/hadoop-common/src/main/winutils/task.c

@@ -1330,11 +1330,11 @@ void TaskUsage()
   // jobobject's are being used.
   // jobobject's are being used.
   // ProcessTree.isSetsidSupported()
   // ProcessTree.isSetsidSupported()
   fwprintf(stdout, L"\
   fwprintf(stdout, L"\
-Usage: task create [OPTOINS] [TASKNAME] [COMMAND_LINE]\n\
+Usage: task create [OPTIONS] [TASKNAME] [COMMAND_LINE]\n\
          Creates a new task job object with taskname and options to set CPU\n\
          Creates a new task job object with taskname and options to set CPU\n\
          and memory limits on the job object\n\
          and memory limits on the job object\n\
 \n\
 \n\
-         OPTIONS: -c [cup rate] set the cpu rate limit on the job object.\n\
+         OPTIONS: -c [cpu rate] set the cpu rate limit on the job object.\n\
                   -m [memory] set the memory limit on the job object.\n\
                   -m [memory] set the memory limit on the job object.\n\
          The cpu limit is an integral value of percentage * 100. The memory\n\
          The cpu limit is an integral value of percentage * 100. The memory\n\
          limit is an integral number of memory in MB. \n\
          limit is an integral number of memory in MB. \n\