瀏覽代碼

i.evapo.pm: Fix missing output description (#1275)

Addresses -Wunused-value compiler warning.
nila 4 年之前
父節點
當前提交
d1edbdd2e9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      imagery/i.evapo.pm/main.c

+ 1 - 1
imagery/i.evapo.pm/main.c

@@ -86,7 +86,7 @@ int main(int argc, char *argv[])
     input_hc->description = _("Name of input crop height raster map [m]");
     input_hc->description = _("Name of input crop height raster map [m]");
 
 
     output = G_define_standard_option(G_OPT_R_OUTPUT);
     output = G_define_standard_option(G_OPT_R_OUTPUT);
-	_("Name for output raster map [mm/h]");
+    output->description = _("Name for output raster map [mm/h]");
 
 
     zero = G_define_flag();
     zero = G_define_flag();
     zero->key = 'z';
     zero->key = 'z';