GNOME Bugzilla – Bug 667030
Add a --version argument
Last modified: 2012-01-06 13:06:46 UTC
Would be nice to have a --version argument. This could be used for instance by other programs that are using nautilus-sendto at run time and need to check the dependency.
Created attachment 204352 [details] [review] Add --version argument. This patch fixes the bug.
Review of attachment 204352 [details] [review]: Fine to commit without the other whitespace changes. ::: src/nautilus-sendto-command.c @@ +54,3 @@ static gboolean run_from_build_dir = FALSE; static gint64 xid = 0; +static gboolean version = FALSE; show_version instead, maybe.
Created attachment 204445 [details] [review] Updated patch based on review in comment https://bugzilla.gnome.org/show_bug.cgi?id=667030#c2
Review of attachment 204445 [details] [review]: I would just put the bug URL in the commit message (rather than "fixes bug..."), means the link is clickable when reading the logs.
Created attachment 204489 [details] [review] Updated patch based on review in comment https://bugzilla.gnome.org/show_bug.cgi?id=667030#c4