diff --git a/user-doc/tutorials/aa-lugano-5.txt b/user-doc/tutorials/aa-lugano-5.txt
index 8d3683c0da6dfacfde714c4b251c95cc98eebf6a..9e3808f26237219f996c443579327aa7ca642a37 100644
--- a/user-doc/tutorials/aa-lugano-5.txt
+++ b/user-doc/tutorials/aa-lugano-5.txt
@@ -182,7 +182,7 @@ pbeta: PARABETARMSD RESIDUES=all STRANDS_CUTOFF=1.0
 # determine how good our projection of the trajectory data is.
 cc2: COLLECT_FRAMES ARG=alpha,abeta,pbeta
 OUTPUT_ANALYSIS_DATA_TO_COLVAR USE_OUTPUT_DATA_FROM=cc2 ARG=cc2.* FILE=secondary_structure_data
-\endplumed
+\endplumedfile
 
 To generate the projection you run the command: