-@ RUN: llvm-nm -print-size -arch armv7m %p/Inputs/print-size.macho-armv7m 2>&1 | FileCheck %s
+@ RUN: llvm-nm --print-size --arch armv7m %p/Inputs/print-size.macho-armv7m 2>&1 | FileCheck %s
@ CHECK: warning: sizes with -print-size for Mach-O files are always zero.
; RUN: grep -v "module asm" %s | llvm-as -o %t/embedded.bc
; RUN: llc -I=%t -filetype=obj -o %t/obj.o %s
; RUN: llvm-ar crs %t/lib.a %t/obj.o
-; RUN: llvm-nm -m -no-llvm-bc %t/lib.a | FileCheck %s
+; RUN: llvm-nm -m --no-llvm-bc %t/lib.a | FileCheck %s
target triple = "x86_64-apple-macosx10.11"
-// #Check that with common switch commons are added to bss or
+// #Check that with common switch commons are added to bss or
// #Shown as *COM* otherwise their size is discounted
// RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
-// RUN: llvm-size -A -common %t.o | FileCheck --check-prefix="SYSV" %s
-// RUN: llvm-size -B -common %t.o| FileCheck --check-prefix="BSD" %s
-// RUN: llvm-size -A %t.o | FileCheck --check-prefix="SYSVNOCOMM" %s
-// RUN: llvm-size -B %t.o| FileCheck --check-prefix="BSDNOCOMM" %s
+// RUN: llvm-size -A --common %t.o | FileCheck --check-prefix=SYSV %s
+// RUN: llvm-size -B --common %t.o | FileCheck --check-prefix=BSD %s
+// RUN: llvm-size -A %t.o | FileCheck --check-prefix=SYSVNOCOMM %s
+// RUN: llvm-size -B %t.o | FileCheck --check-prefix=BSDNOCOMM %s
.type x,@object
.comm x,4,4
.type y,@object