The branch master has been updated via d0ea3ada5275a432bd0e0fa4885f2b4df5668701 (commit) from 11eee1439b2d9ed968d9bf39997765811f5c88a5 (commit)
- Log ----------------------------------------------------------------- commit d0ea3ada5275a432bd0e0fa4885f2b4df5668701 Author: Rich Salz <rs...@openssl.org> Date: Fri Mar 2 10:41:14 2018 -0500 Add -m flag ----------------------------------------------------------------------- Summary of changes: license/approved | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/license/approved b/license/approved index 0cc2847..eb0b218 100755 --- a/license/approved +++ b/license/approved @@ -3,6 +3,7 @@ Flags: -c text... Comment to use + -m Use email+date as the comment -r Reject not approve -h This help -v List emails as processed @@ -26,7 +27,7 @@ cursor = conn.cursor() comment = 'From CLI'; reply = 'y' verbose = 0 -opts, args = getopt.getopt(sys.argv[1:], "c:hrv") +opts, args = getopt.getopt(sys.argv[1:], "c:hrvm") for o,a in opts: if o == '-c': comment = a @@ -34,6 +35,9 @@ for o,a in opts: reply = 'n' elif o == '-v': verbose = 1 + elif o == '-m': + comment = datetime.date.today().strftime('Email %Y-%m-%d') + print comment else: print __doc__ raise SystemExit _____ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits