[nautilus-actions] gconf2desktop.sh defaults to display help if there is no option
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions] gconf2desktop.sh defaults to display help if there is no option
- Date: Wed, 19 Jan 2011 21:48:21 +0000 (UTC)
commit 2cf0b413265bd0b3c106d97f6e6a39b9307f23f7
Author: Pierre Wieser <pwieser trychlos org>
Date: Thu Jan 6 18:39:37 2011 +0100
gconf2desktop.sh defaults to display help if there is no option
src/utils/nautilus-actions-gconf2desktop.sh.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/utils/nautilus-actions-gconf2desktop.sh.in b/src/utils/nautilus-actions-gconf2desktop.sh.in
index 3cc94d9..fa68a3f 100644
--- a/src/utils/nautilus-actions-gconf2desktop.sh.in
+++ b/src/utils/nautilus-actions-gconf2desktop.sh.in
@@ -335,7 +335,7 @@ set | grep -e '^opt_' | cut -d= -f1 | while read _name; do
fi
done
-if [ "${opt_help}" = "yes" ]; then
+if [ "${opt_help}" = "yes" -o ${nbopt} -eq 0 ]; then
msg_help
echo ""
exit
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]