From eae3c12f422820d2d09c9fe42638902af9c5d2d0 Mon Sep 17 00:00:00 2001
From: Fredrik Rinnestam <fredrik@crux.nu>
Date: Sat, 21 Jan 2017 12:24:07 +0100
Subject: signify aware again

---
 doc/prt-get.8     | 8 ++++++++
 src/argparser.cpp | 6 +++++-
 src/prtget.cpp    | 2 ++
 3 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/doc/prt-get.8 b/doc/prt-get.8
index d7ab47c..bc1938d 100644
--- a/doc/prt-get.8
+++ b/doc/prt-get.8
@@ -414,6 +414,14 @@ Update md5sum, implies 'pkgmk -um'; same as --margs=-um
 .B -im
 Ignore md5sum, implies 'pkgmk -im'; same as --margs=-im
 
+.TP
+.B -us
+Update signature, implies 'pkgmk -us'; same as --margs=-us
+
+.TP
+.B -is
+Ignore signature, implies 'pkgmk -is'; same as --margs=-is
+
 .TP
 .B -uf
 Update footprint, implies 'pkgmk -uf'; same as --margs=-uf
diff --git a/src/argparser.cpp b/src/argparser.cpp
index b971212..50667e1 100644
--- a/src/argparser.cpp
+++ b/src/argparser.cpp
@@ -219,7 +219,11 @@ bool ArgParser::parse()
                 m_pkgmkArgs += " " + s;
             } else if ( s == "-um" ) {
                 m_pkgmkArgs += " " + s;
-            } else if ( s == "-kw" ) {
+            } else if ( s == "-is" ) {
+                m_pkgmkArgs += " " + s;
+            } else if ( s == "-us" ) {
+                m_pkgmkArgs += " " + s;
+	    } else if ( s == "-kw" ) {
                 m_pkgmkArgs += " " + s;
             } else if ( s == "-ns" ) {
                 m_pkgmkArgs += " " + s;
diff --git a/src/prtget.cpp b/src/prtget.cpp
index 3d9863f..8a790bc 100644
--- a/src/prtget.cpp
+++ b/src/prtget.cpp
@@ -180,6 +180,8 @@ void PrtGet::printUsage()
     cout << "                -if                 ignore footprint" << endl;
     cout << "                -um                 update md5sum" << endl;
     cout << "                -im                 ignore md5sum" << endl;
+    cout << "                -us                 update signature" << endl;
+    cout << "                -is                 ignore signature" << endl;
     cout << "                --margs=<string>    pass 'string' to pkgmk"
          << endl;
     cout << "                --aargs=<string>    pass 'string' to pkgadd"
-- 
cgit v1.2.3