[Lldb-commits] [lldb] 749f13e - [lldb] Correct --help output for qemu rootfs script

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 29 02:57:39 PDT 2020


Author: David Spickett
Date: 2020-10-29T09:57:32Z
New Revision: 749f13e7635aebcda978ee2e42f5569ab7f0fafc

URL: https://github.com/llvm/llvm-project/commit/749f13e7635aebcda978ee2e42f5569ab7f0fafc
DIFF: https://github.com/llvm/llvm-project/commit/749f13e7635aebcda978ee2e42f5569ab7f0fafc.diff

LOG: [lldb] Correct --help output for qemu rootfs script

It was printing "Usage:" twice.

Reviewed By: omjavaid

Differential Revision: https://reviews.llvm.org/D90225

Added: 
    

Modified: 
    lldb/scripts/lldb-test-qemu/rootfs.sh

Removed: 
    


################################################################################
diff  --git a/lldb/scripts/lldb-test-qemu/rootfs.sh b/lldb/scripts/lldb-test-qemu/rootfs.sh
index 0491f4be0bc2..33ff278c1702 100644
--- a/lldb/scripts/lldb-test-qemu/rootfs.sh
+++ b/lldb/scripts/lldb-test-qemu/rootfs.sh
@@ -3,7 +3,6 @@
 set -e
 
 print_usage() {
-  echo "Usage:"
   echo "Usage: $(basename $0) [options]"
   echo -e "Creates a Ubuntu root file system image.\n"
   echo -e "  --help\t\t\tDisplay this information."


        


More information about the lldb-commits mailing list