Description of problem: When I rename a product/version/edition name with command: $ publican rename --product new_product_name a message is out:name is a required parameter at /usr/bin/publican line 1034, but in user guide, product name can be changed by command:$ publican rename --product new_product_name Version-Release number of selected component (if applicable): 3.0 How reproducible: always Steps to Reproduce: 1.$publican create --name Test_Book 2.$publican rename --product new_product_name 3. Actual results: name is a required parameter at /usr/bin/publican line 1034 Expected results: Product name can be changed Additional info:
Made --name optional as per documentation. To ssh://git.fedorahosted.org/git/publican.git a26921c..4a5866f master -> master
I ran this command: publican rename --product new_product_name It gave no errors. I verified that the product name was changed in Book_Info.xml: <productname>new_product_name</productname> I did an extra test to verify that the product name changes even if I am using the info_file: parameter to point to a different file for <bookinfo> tag. To do this, I moved the <bookinfo> element and child elements from Book_Info.xml to Test_Book.xml. I removed the xi:include to Book_Info.xml and removed the file itself. I then ran the rename command the same as before, and verified that the <productname> was changed in the correct file.