ソースを参照

port r18172 from 1.2: make mpi cholesky recognize --help

Samuel Thibault 8 年 前
コミット
fd94a6e363
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2 2
      mpi/examples/matrix_decomposition/mpi_decomposition_params.c

+ 2 - 2
mpi/examples/matrix_decomposition/mpi_decomposition_params.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2009, 2010, 2015  Université de Bordeaux
+ * Copyright (C) 2009, 2010, 2015-2016  Université de Bordeaux
  * Copyright (C) 2010, 2011, 2012, 2013, 2015  CNRS
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -80,7 +80,7 @@ void parse_args(int argc, char **argv, int nodes)
                         display = 1;
                 }
 
-                if (strcmp(argv[i], "-h") == 0)
+                if (strcmp(argv[i], "-h") == 0 || strcmp(argv[i], "--help") == 0)
                 {
                         printf("usage : %s [-display] [-size size] [-nblocks nblocks]\n", argv[0]);
                 }