[scripts] Add deprecation warning to dmcs
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Fri, 19 Feb 2016 19:19:58 +0000 (20:19 +0100)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 22 Feb 2016 10:50:26 +0000 (11:50 +0100)
dmcs was deprecated in favor of mcs a while back, yet people are still creating new scripts with it.
Adding a message that shows up on each dmcs invocation should hopefully make this more obvious.

scripts/dmcs.in

index e86cdf9df091ca5226d28752ac9ecbf35ee6db65..223dac2e7f6edcb4ec6848e00c16e177388a4713 100755 (executable)
@@ -1,2 +1,3 @@
 #!/bin/sh
+echo "Note: dmcs is deprecated, please use mcs instead!"
 exec @bindir@/mono $MONO_OPTIONS @mono_instdir@/4.5/mcs.exe -sdk:4.0 "$@"