chiark / gitweb /
libudev: add global property list
[elogind.git] / extras / ata_id / ata_id.c
index 43d9516a19774250978d6c07af39fcff5a5d5978..a4f73b8dfd8d6719ade449147a6fa58f7669fb88 100644 (file)
@@ -3,9 +3,18 @@
  *
  * Copyright (C) 2005-2008 Kay Sievers <kay.sievers@vrfy.org>
  *
- *     This program is free software; you can redistribute it and/or modify it
- *     under the terms of the GNU General Public License as published by the
- *     Free Software Foundation version 2 of the License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
 #ifndef _GNU_SOURCE
@@ -79,8 +88,8 @@ int main(int argc, char *argv[])
        int fd;
        int rc = 0;
        static const struct option options[] = {
-               { "export", 0, NULL, 'x' },
-               { "help", 0, NULL, 'h' },
+               { "export", no_argument, NULL, 'x' },
+               { "help", no_argument, NULL, 'h' },
                {}
        };