17dbe5
Update cli_getCopyrightInfo.sh:
@@ -59,12 +59,18 @@ function cli_getCopyrightInfo {
|
|
59
59
|
date +%Y
|
60
60
|
;;
|
61
61
|
|
62
|
-
'--copyright-holder'
|
62
|
+
'--copyright-holder' )
|
63
63
|
|
64
64
|
# Output default copyright holder.
|
65
65
|
echo "The CentOS Project"
|
66
66
|
;;
|
67
67
|
|
68
|
+
'--copyright' | * )
|
69
|
+
local YEAR=$(cli_getCopyrightInfo '--copyright-year')
|
70
|
+
local HOLDER=$(cli_getCopyrightInfo '--copyright-holder')
|
71
|
+
echo "Copyright © $YEAR $HOLDER"
|
72
|
+
;;
|
73
|
+
|
68
74
|
esac
|
69
75
|
|
70
76
|
}
|