From d8a9d6511845637945e1fee22cc7399dcfb761b8 Mon Sep 17 00:00:00 2001 From: Salvatore Orlando Date: Fri, 14 Aug 2015 04:00:32 -0700 Subject: [PATCH] README.rst: generate-constraints requires -r option It seems the requirements file must be specified when using the generate-constraints utility. This patch amends the README.rst file to reflect this, as it currently appears to hint that the -r options default to global-requirements.txt Change-Id: I1b2d67f717e1050b11d974da69071b127dd864c8 --- README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index bd893a5aa0..064ae4dd5a 100644 --- a/README.rst +++ b/README.rst @@ -153,7 +153,7 @@ Compile a constraints file showing the versions of resulting from installing all of ``global-requirements.txt``:: generate-constraints -p /usr/bin/python2.7 -p /usr/bin/python3.4 \ - -b blacklist.txt > new-constraints.txt + -b blacklist.txt -r global-requirements.txt > new-constraints.txt edit-constraints ---------------- @@ -184,12 +184,12 @@ Regenerating involves five steps. 2) Create a reference file (do this without your patch applied):: generate-constraints -p /usr/bin/python2.7 -p /usr/bin/python3.4 \ - -b blacklist.txt > baseline + -b blacklist.txt -r global-requirements.txt > baseline 3) Apply your patch and generate a new reference file:: generate-constraints -p /usr/bin/python2.7 -p /usr/bin/python3.4 \ - -b blacklist.txt > updated + -b blacklist.txt -r global-requirements.txt > updated 4) Diff them::