Mercurial > geeqie
diff src/remote.c @ 652:9bcfd6d7a902
Display a message when invalid remote options are used.
author | zas_ |
---|---|
date | Tue, 13 May 2008 14:49:38 +0000 |
parents | 3097880d7d95 |
children | e06947d07086 |
line wrap: on
line diff
--- a/src/remote.c Tue May 13 14:35:51 2008 +0000 +++ b/src/remote.c Tue May 13 14:49:38 2008 +0000 @@ -663,7 +663,7 @@ } } -GList *remote_build_list(GList *list, int argc, char *argv[]) +GList *remote_build_list(GList *list, int argc, char *argv[], GList **errors) { gint i; @@ -677,6 +677,10 @@ { list = g_list_append(list, argv[i]); } + else if (errors) + { + *errors = g_list_append(*errors, argv[i]); + } i++; }