From b11cba36c10307cbe01cccf562746ad1db022569 Mon Sep 17 00:00:00 2001 From: Paul Gier Date: Aug 21 2017 18:32:58 +0000 Subject: Update error message to reflect deprecation of --dist option The --dist option has been deprecated in favor of --release. Signed-off-by: Paul Gier --- diff --git a/fedpkg/__init__.py b/fedpkg/__init__.py index 6003a80..4b6a5a2 100644 --- a/fedpkg/__init__.py +++ b/fedpkg/__init__.py @@ -104,8 +104,8 @@ class Commands(pyrpkg.Commands): self._distunset = 'rhel' # If we don't match one of the above, punt else: - raise pyrpkg.rpkgError('Could not find the dist from branch name ' - '%s\nPlease specify with --dist' % + raise pyrpkg.rpkgError('Could not find the release/dist from branch name ' + '%s\nPlease specify with --release' % self.branch_merge) self._rpmdefines = ["--define '_sourcedir %s'" % self.path, "--define '_specdir %s'" % self.path,